Subject: Re: nslookup and hosts on local net
To: Mark E. Perkins <perkinsm@bway.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 03/29/2002 09:39:21
On Thu, Mar 28, 2002 at 07:05:46PM -0500, Mark E. Perkins wrote:
> 'ping netbsd1' works, so I guess there's no problem with gethostbyname(),
> only a problem with my limited understanding... 8*)
>
> 'nslookup netbsd1' returns a "Non-existent host/domain" error from the ISP
> name server. So I guess my *real& question is why? Shouldn't it return the
> IP address as found in /etc/hosts?
No because nslookup is *only* a tool to query nameservers.
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--