Guy Gaudreau wrote:
> I don't know where to look, I have a Solaris version 10 running and I think I 
> have all files configured properly, nslookup resolves but ping does not
>
> Any suggestions.
>  
>   
Check your /etc/nsswtich.conf.

Make sure DNS is listed as a source for host resolution.

'nslookup' will always do DNS lookups using the config info in 
/etc/resolv.conf.

The System (ssh, telnet, ping, http://, etc) however always looks at 
/etc/resolv.conf to figure out what name service to use. If DNS is not 
listed, then it won't look to /etc/resolv.conf, and won't use DNS at all.

Another tool to test this is 'getent hosts <hostname>'  This is like 
'nslookup' but pays attention to /etc/nsswitch.conf.

  -Kyle
>  
> This message posted from opensolaris.org
> _______________________________________________
> networking-discuss mailing list
> [email protected]
>   

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to