Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 1996 23:04:48 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: Problem in 2.1.5 install and loopback interface.
Message-ID:  <199608162104.XAA07700@uriah.heep.sax.de>
In-Reply-To: <199608161821.NAA16102@brasil.moneng.mei.com> from Joe Greco at "Aug 16, 96 01:21:52 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Joe Greco wrote:

> Can anybody explain the reason that it is done the other way around right
> now?

Because it's the default (traditionally, or in absence of host.conf)?

>  It seems to me that if you specify something in /etc/hosts, there must
> be a really freakin' good reason for it, so why not have the system abide by
> your wishes?

Well, it gives the local system administrator precedence over the
network administrator, but the matter of concern is rather a matter of
the network.  In other words: you can easily put a bogus or obsolete
address there, and it will be happily used instead of the correct one.

I think if you don't have /etc/resolv.conf, it will fall back to
/etc/hosts quickly, even if the machine is otherwise acting as a name
server.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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