From owner-freebsd-bugs Fri Nov 22 14:31:49 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA22240 for bugs-outgoing; Fri, 22 Nov 1996 14:31:49 -0800 (PST) Received: from jack.colorado.edu (jack.Colorado.EDU [128.138.149.29]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA22235 for ; Fri, 22 Nov 1996 14:31:45 -0800 (PST) Received: from jack (localhost [127.0.0.1]) by jack.colorado.edu (8.7.6/8.7.3/CNS-4.0p) with SMTP id PAA24878; Fri, 22 Nov 1996 15:31:09 -0700 (MST) Message-ID: <329629AD.5A4E@Colorado.EDU> Date: Fri, 22 Nov 1996 15:31:09 -0700 From: "Mark O'Lear" Organization: University of Colorado X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m) MIME-Version: 1.0 To: mhugo@dataphone.se CC: freebsd-bugs@freebsd.org Subject: Re: misc/2083: Resolver in 2.1.6 stable References: <199611221815.KAA07813@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk mhugo@dataphone.se wrote: > > >Number: 2083 > >Category: misc > >Synopsis: Resolver in 2.1.6 stable ... > >Release: 2.1.6 > >Environment: > FreeBSD ninja.dataphone.se 2.1.6-RELEASE FreeBSD 2.1.6-RELEASE #0: Fri Nov 22 18 > :41:09 MET 1996 m2@ninja.dataphone.se:/usr/src/sys/compile/NINJA i386 > >Description: > When making world on the sup distribution on 2.1.6, the following occurs: > > ninja: {9} /sbin/ping nic > ping: unknown host nic > ninja: {10} nslookup nic > Server: nic.dataphone.se > Address: 194.23.92.66 > > Non-authoritative answer: > Name: nic.dataphone.se > Address: 194.23.92.66 > > All programs that use gethostbyname seems unable to resolve. > > nslookup works fine, and adds to the fact. > ... It sounds like you've commented out the line that says 'bind' in your /etc/host.conf file. The file (/etc/host.conf) also has to be world readable. Programs using gethostbyname need to have the line 'bind' in the host.conf file in order to do DNS lookups. nslookup is by default a name server lookup (DNS), so it uses bind no matter what's listed in the host.conf file. -- Mark O'Lear \ e-mail: Mark.Olear@Colorado.EDU University of Colorado \ phone: (303) 492-3798 Telecomm. Svcs. (CB 313) \ fax: (303) 492-5105 Boulder, CO 80309 \