Subject: Re: install/21999: localhost.domain not correctly set in /etc/hosts file
To: None <wsimpson@greendragon.com>
From: Alan Barrett <apb@cequrux.com>
List: netbsd-bugs
Date: 06/27/2003 11:00:47
On Thu, 26 Jun 2003, wsimpson@greendragon.com wrote:
> >Synopsis:       localhost.domain not correctly set in /etc/hosts file

There's no need for a localhost.domain entry in /etc/hosts, nor for a
localhost.domain entry in any DNS zone files.  I haven't used anything
like that for years.

There is a need for a "localhost" entry in /etc/hosts, and NetBSD
installs a suitable entry by default.  I also recommend installing a
"localhost."  DNS zone (as a master zone in all caching nameservers),
and NetBSD's default named.conf does so.

If there's something that breaks due to lack of a localhost.domain entry
in /etc/hosts or in the DNS, then that problem should be fixed in some
other way, without adding a localhost.domain entry.

--apb (Alan Barrett)