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... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080509/e9bb385c/attachment-0005.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2425 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080509/e9bb385c/attachment-0005.p7s>