hi
I have defined search localhost in /etc/resolv.conf
cat /etc/resolv.conf search localhost
i did not define any nameserver ip address in this file
i have given the gw ip from where the internet can be reached
no dns is running in gateway. no dns service is running on the PC no bind packages are installed on pc
but still if i ping to some domain like ping www.google.com it resolves and displayes icmp replies.
i dont know from where this name resolution is taking place
please help on this what happens exactly.
Regards, Gopinath M Signal Networks Pvt. Ltd.
Smile... it increases your face value!
On May 9, 2008, at 7:49 AM, gopinath wrote:
I have defined search localhost in /etc/resolv.conf
cat /etc/resolv.conf search localhost
i did not define any nameserver ip address in this file
i have given the gw ip from where the internet can be reached
no dns is running in gateway. no dns service is running on the PC no bind packages are installed on pc
but still if i ping to some domain like ping www.google.com it resolves and displayes icmp replies.
i dont know from where this name resolution is taking place
There is the possibility that /etc/nsswitch.conf might give you a clue...
gopinath wrote:
hi
I have defined search localhost in /etc/resolv.conf
cat /etc/resolv.conf search localhost
i did not define any nameserver ip address in this file
i have given the gw ip from where the internet can be reached
no dns is running in gateway. no dns service is running on the PC no bind packages are installed on pc
but still if i ping to some domain like ping www.google.com http://www.google.com it resolves and displayes icmp replies.
i dont know from where this name resolution is taking place
please help on this what happens exactly.
Regards, Gopinath M Signal Networks Pvt. Ltd.
Smile... it increases your face value!
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Try dig. >>dig www.google.com<<
Under the SERVER section, that should give you the information on where the DNS data came from. For instance, my SERVER name is the local ip address of my DNS server.
HTH
Monty