On Thu, 24 Oct 2002, Todd A. Jacobs wrote:

> On Thu, 24 Oct 2002, Mike Burger wrote:
> 
> > You misnamed the file...it's /etc/host.conf.  No extra s after the t.
> 
> How do I look up names in the hosts file? If I do a "host laptop" it
> returns the external DNS address, rather than the IP in /etc/hosts.  
> Setting the no-recursion flag (-r) doesn't do any good, either.
> 
> On the other hand, it's *working*, because a ping will use the correct 
> internal address. I'm just looking for the appropriate lookup tool.


You might also want to take a look at /etc/nsswitch.conf






-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to