1842632 Members
3246 Online
110194 Solutions
New Discussion

ip address

 
Manuales
Super Advisor

ip address

if i ping "b" works??'
why??? if i commented it into hosts file??

please help.
2 REPLIES 2
Steven Schweda
Honored Contributor
Pete Randall
Outstanding Contributor

Re: ip address

You must have a dns server. Check your /etc/nsswitch.conf file. It probably looks something like this:

hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return] nis

This means that, if "b" is not found in the hosts file, go try the dns server named in /etc/resolv.conf.


Pete

Pete