Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 1996 15:31:09 -0700
From:      "Mark O'Lear" <Mark.Olear@Colorado.EDU>
To:        mhugo@dataphone.se
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: misc/2083: Resolver in 2.1.6 stable
Message-ID:  <329629AD.5A4E@Colorado.EDU>
References:  <199611221815.KAA07813@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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         \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?329629AD.5A4E>