From owner-freebsd-hackers Sun Sep 14 21:37:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA27728 for hackers-outgoing; Sun, 14 Sep 1997 21:37:42 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA27723 for ; Sun, 14 Sep 1997 21:37:37 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id OAA03419; Mon, 15 Sep 1997 14:07:22 +0930 (CST) Message-ID: <19970915140722.43631@lemis.com> Date: Mon, 15 Sep 1997 14:07:22 +0930 From: Greg Lehey To: "Kevin P. Neal" Cc: FreeBSD Hackers Subject: Re: Why not DNS (was: nfs startup - perhaps it is a problem) References: <1.5.4.32.19970915043359.00faa990@mail.mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <1.5.4.32.19970915043359.00faa990@mail.mindspring.com>; from Kevin P. Neal on Mon, Sep 15, 1997 at 12:33:59AM -0400 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, Sep 15, 1997 at 12:33:59AM -0400, Kevin P. Neal wrote: > At 11:42 AM 9/15/97 +0930, Greg Lehey wrote: >> I haven't been following this thread too closely, but I still claim >> that /etc/hosts is just plain obsolete. If anybody can give me any >> reasons for using /etc/hosts, I'm sure I can refute them. > > How about: > > You are running a very small network (less than 10 machines) and are > sometimes connected to the Internet. No. An ideal reason to want to have a name server. > You don't want to set up a nameserver. No fair. We're talking about technical reasons here, not emotional ones. > You _do_ want these machines to have > names. You don't have names for them on the Internet. Furthermore, you don't > want to have to diddle /etc/resolve.conf apon ppp-up and ppp-down to point > at a different name server. If you have a name server, you don't need resolv.conf. > You know exactly what "lookup file bind" does, and it does exactly > what you want in this situation. It keeps your host names consistent across the local net? It caches name server lookups across your slow Internet connection? named is your friend. Greg