From owner-freebsd-questions Fri May 4 17:35:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from home.haneys.net (dsl-64-34-250-237.telocity.com [64.34.250.237]) by hub.freebsd.org (Postfix) with ESMTP id 4238537B422 for ; Fri, 4 May 2001 17:35:23 -0700 (PDT) (envelope-from rich@haneys.net) Received: by home.haneys.net (Postfix, from userid 501) id A6D451183BF; Fri, 4 May 2001 20:34:49 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by home.haneys.net (Postfix) with ESMTP id 9A76A703B5; Fri, 4 May 2001 20:34:49 -0400 (EDT) Date: Fri, 4 May 2001 20:34:49 -0400 (EDT) From: Rich Haney To: Michael O'Henly Cc: Subject: Re: What is the correct way to name my machine? In-Reply-To: <01050416544201.02354@h24-69-46-74.gv.shawcable.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 4 May 2001, Michael O'Henly wrote: > My internet access is provided via cable modem and DHCP. The result is a > default machine name that looks like "h123-123-123-123.gv.shawcable.net" > (those "123's" are actually my IP address). > > Two questions: > > 1. I'd like to change the default name to something else so that wherever the > above is used now, the new name would be used instead. What do I update to > make this change? Unless they're going to delegate this IP to something where you can maintain it, they would need to make the change for you in their DNS as the authority for the netblock. Not likely. > 2. I'd like to create some aliases that may also be used to refer to the > machine. Under Linux, I'd do this once in /etc/hosts and the aliases would > become globally available. Is this true of FreeBSD as well? Adding them to /etc/hosts doesn't make them globally available (unless, by 'globally available' you mean on the entire machine). /etc/hosts is strictly local to the machine. If you want true global availability, you wuold need to add them to the zone file for the domain in which the aliases will reside. But if you just want them known to your local machine, then /etc/hosts is what you need. Rich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message