FC4 - Cannot resolve hosts, but nslookup works

Vijay Gill vijay.s.gill at gmail.com
Tue Nov 15 16:41:49 UTC 2005


> One place to check is /etc/nsswitch.conf.
>
> Look for the line starting with
> hosts:
>
> A working value is
> hosts: files dns
>
> This says when looking up host names, first check the
> /etc/hosts file and then do a dns lookup.  If the dns
> token is not present, ping and other utilities which
> use the gethostbyname() call will not do a dns lookup.
>
> Bob Styma
>
I had already checked that. It says what you mentioned.

Regards from
Vijay G.




More information about the users mailing list