Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2002 14:53:33 -0600
From:      "Mike Meyer" <mwm-dated-1011819213.53be17@mired.org>
To:        Dave Kaufman <daverk@epix.net>
Cc:        questions@freebsd.org
Subject:   Re: hosts file
Message-ID:  <15432.35661.569980.695111@guru.mired.org>
In-Reply-To: <68663647@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Dave Kaufman <daverk@epix.net> types:
> should there be more in my /etc/hosts file than
> 
> 127.0.0.1	localhost
> 
> i'm thinking there should but i'm not finding it in the handbook. shouldn't 
> there be a reference to my local host name?

Since no one else pointed it out, the local host name and the ip
address(es) it uses are all set in /etc/rc.conf, so there's no longer
any reason to have the local host in /etc/hosts.

So the only thing to put in it are hosts that you might want to refer
to by name before you are up and can access your DNS servers. It can
also be used as an alternative to running a local DNS server for the
names of machines on your LAN.

Personally, I leave it as is so that mergemaster will upgrade it
without bothering me about it.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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?15432.35661.569980.695111>