From owner-freebsd-questions Sun Apr 6 21:41:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA21162 for questions-outgoing; Sun, 6 Apr 1997 21:41:38 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA21140 for ; Sun, 6 Apr 1997 21:41:32 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (helbig.informatik.ba-stuttgart.de [141.31.166.22]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id MAA25302 for ; Sun, 6 Apr 1997 12:18:26 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id VAA06946; Sun, 6 Apr 1997 21:18:28 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199704061918.VAA06946@helbig.informatik.ba-stuttgart.de> Subject: Re: Netscape Navigator 3.01 without named In-Reply-To: <3.0.32.19970406063517.00c08a0c@mixcom.com> from "Jeffrey J. Mountin" at "Apr 6, 97 06:35:18 am" To: sysop@mixcom.com (Jeffrey J. Mountin) Date: Sun, 6 Apr 1997 21:18:27 +0200 (MET DST) Cc: questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, > At 01:56 AM 4/6/97 +0200, Wolfgang Helbig wrote: > >Netscape and some other programs (nslookup(8), host(1)) seem to ignore > >/etc/host.conf and /etc/hosts. This annoying "feature" unnecessarily > >bloats the administration of small local networks that are connected > >to the Internet by a switched line only. > > > >I am very much interested in a solution to this problem that avoids > >firing up named just for telling me who I am. > > Hehe! And I thought that just our Win95 users ran into such problems. > > My thought is that if it doesn't use the nameserver from either > /etc/host.conf or /etc/hosts it should look for named.ca or in the case of > the default for FBSD, named.root and just use the root servers. All TCP/IP stacks that I know of (OS/2, Windows NT, AIX, VM/ESA) offer the Berkeley style interface (gethostbyname(2) ..) for resolving host names. This interface can be configured to use local tables and/or BIND. Further the search order can be configured. For reasons I really would like to know, some programs don't use it. The WWW browser LYNX uses it for ftp: and not for http: URLs. Strange! Especially for newbies configuring their network for the first time. bewildered Wolfgang