From owner-freebsd-questions Fri May 4 17:51:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from h24-69-46-74.gv.shawcable.net (h24-69-46-74.gv.shawcable.net [24.69.46.74]) by hub.freebsd.org (Postfix) with ESMTP id 2E0FE37B424 for ; Fri, 4 May 2001 17:51:54 -0700 (PDT) (envelope-from michael@tenzo.com) Received: from h24-69-46-74.gv.shawcable.net (localhost.gv.shawcable.net [127.0.0.1]) by h24-69-46-74.gv.shawcable.net (8.11.3/8.11.3) with SMTP id f450skD02707; Fri, 4 May 2001 17:54:46 -0700 (PDT) (envelope-from michael@tenzo.com) Content-Type: text/plain; charset="iso-8859-1" From: "Michael O'Henly" Reply-To: michael@tenzo.com To: freebsd-questions@freebsd.org Subject: Re: What is the correct way to name my machine? Date: Fri, 4 May 2001 17:54:46 -0700 X-Mailer: KMail [version 1.2] References: In-Reply-To: Cc: Rich Haney MIME-Version: 1.0 Message-Id: <01050417544600.02640@h24-69-46-74.gv.shawcable.net> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday 04 May 2001 17:34, Rich Haney wrote: > 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). > > 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. Sorry. I should have said this more clearly. I meant a local change only. If my ISP wants to think of me as "h123-123-123-123.gv.shawcable.net", then great. ;-) > > 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. That's what I meant. Just wanted to be sure I wasn't overlooking something if I updated /etc/hosts only. Thanks, Rich. M. -- Michael O'Henly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message