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

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




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