From owner-freebsd-hackers Mon May 5 23:54:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA20569 for hackers-outgoing; Mon, 5 May 1997 23:54:23 -0700 (PDT) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA20564 for ; Mon, 5 May 1997 23:54:13 -0700 (PDT) Received: (from karpen@localhost) by ocean.campus.luth.se (8.7.5/8.7.3) id IAA24805; Tue, 6 May 1997 08:58:44 +0200 (MET DST) From: Mikael Karpberg Message-Id: <199705060658.IAA24805@ocean.campus.luth.se> Subject: Re: bind before hosts and iijppp... To: joerg_wunsch@uriah.heep.sax.de Date: Tue, 6 May 1997 08:58:44 +0200 (MET DST) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <19970505221150.DH03755@uriah.heep.sax.de> from J Wunsch at "May 5, 97 10:11:50 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to J Wunsch: > As Marko Schuetz wrote: > > > Maybe a better policy would be to have as few as possible entries in > > /etc/hosts, but have /etc/host.conf default to hosts before bind. > > bind before hosts is the default policy (also if there's no host.conf > at all). This has a long tradition, and it's basically ``The Right > Thing'', since it just means the opinion of the network administrator > (who administers the DNS) has more weight than that of the local > system's administrator (who maintains /etc/hosts) when it comes to > network maintenance. DNS can be slow/down/unreachable. /etc/hosts is never. I think that's a win. There should only be a few entries in etc hosts, anyway. And if anything is wrong in that file, the admin is at fault. > If you're not going to use DNS, well, you're at a loss and should > revert the entries. > > Sysinstall should offer setting up a local caching DNS server anyway, > this can be done within 10 seconds, at the cost of a few hundred KB of > RAM. If you're PPP connected, it's wise to also mirror the forward > and reverse zones of your own domain. Yeah! That would be a great entry in post install menu somewhere. /Mikael