Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2001 17:54:46 -0700
From:      "Michael O'Henly" <michael@tenzo.com>
To:        freebsd-questions@freebsd.org
Cc:        Rich Haney <rich@haneys.net>
Subject:   Re: What is the correct way to name my machine?
Message-ID:  <01050417544600.02640@h24-69-46-74.gv.shawcable.net>
In-Reply-To: <Pine.LNX.4.30.0105042031410.2601-100000@home.haneys.net>
References:  <Pine.LNX.4.30.0105042031410.2601-100000@home.haneys.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01050417544600.02640>