[CentOS] inconsistent DNS results - ping vs dig vs nslookup

Wed Jun 22 21:10:18 UTC 2011
Ljubomir Ljubojevic <office at plnet.rs>

Ljubomir Ljubojevic wrote:
> Robert Henrichs wrote:
>> root at pbx:~ $ cat /etc/resolv.conf
>> search isp.com
>>    nameserver 8.8.4.4
>>    nameserver 216.146.36.36
>>    nameserver 8.8.8.8
> Whats with the "search isp.com"? Try removing that and try again. Try 
> first without rebooting.
> 
> I am looking what it actually does. I do not have it on my systems.
> 
> Ljubomir
As Les wrote in another branch of the thread, search clause is if you 
try name without a domain.

Anyway, try removing it, but first try using ONLY 8.8.8.8 and 8.8.4.4, 
remove 216.146.36.36 and then test.

Ljubomir