From owner-freebsd-hackers Sun Sep 14 23:12:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA03404 for hackers-outgoing; Sun, 14 Sep 1997 23:12:58 -0700 (PDT) Received: from verdi.nethelp.no (verdi.nethelp.no [195.1.171.130]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA03399 for ; Sun, 14 Sep 1997 23:12:52 -0700 (PDT) From: sthaug@nethelp.no Received: (qmail 23809 invoked by uid 1001); 15 Sep 1997 06:12:47 +0000 (GMT) To: grog@lemis.com Cc: kpneal@pobox.com, hackers@FreeBSD.ORG Subject: Re: Why not DNS (was: nfs startup - perhaps it is a problem) In-Reply-To: Your message of "Mon, 15 Sep 1997 14:07:22 +0930" References: <19970915140722.43631@lemis.com> X-Mailer: Mew version 1.05+ on Emacs 19.28.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Mon, 15 Sep 1997 08:12:47 +0200 Message-ID: <23807.874303967@verdi.nethelp.no> Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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. Agreed. But I have a lease line connection to the Internet, I run my own name server, I have a *lot* of experience running name servers, and I *still* find it extremely convenient to have /etc/hosts lookups available. Please don't remove it. My main reasons for using lookups in 'hosts then bind' order are: - Convenience for temporary updates. Sometimes I want to add a name quickly, use it a little bit, and then remove it again. And there is no reason why these names should be available on the Internet. It's quicker to edit /etc/hosts than to edit two zone files and rehup named. - Assigning names to hosts in other parts of the Internet which are not in DNS. These names will of course only be available locally, but that's all I need. - Likewise, it is sometimes convenient to *override* the names of hosts which are already in the DNS but not under my control. As far as I know, all modern Unixes have the possibility of using several different methods for host name lookups. I see no reason why such useful functionality which is already in FreeBSD should be removed. Steinar Haug, Nethelp consulting, sthaug@nethelp.no