<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On May 9, 2008, at 7:49 AM, gopinath wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Optima; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div bgcolor="#ffffff"><div><span class="Apple-style-span" style="color: rgb(0, 0, 221); -webkit-text-stroke-width: -1; ">I have defined</span></div><div><font face="Arial" size="2">search localhost in /etc/resolv.conf</font></div><div><font face="Arial" size="2"></font> </div><div><font face="Arial" size="2">cat /etc/resolv.conf</font></div><div><font face="Arial" size="2">search localhost</font></div><div><font face="Arial" size="2"></font> </div><div><font face="Arial" size="2">i did not define any nameserver ip address in this file</font></div><div><font face="Arial" size="2"></font> </div><div><font face="Arial" size="2">i have given the gw ip from where the internet can be reached</font></div><div><font face="Arial" size="2"></font> </div><div><font face="Arial" size="2">no dns is running in gateway.</font></div><div><font face="Arial" size="2">no dns service is running on the PC</font></div><div><font face="Arial" size="2">no bind packages are installed on pc</font></div><div><font face="Arial" size="2"></font> </div><div><font face="Arial" size="2">but still if i ping to some domain like</font></div><div><font face="Arial" size="2">ping<span class="Apple-converted-space"> </span><a href="http://www.google.com">www.google.com</a><span class="Apple-converted-space"> </span>it resolves and displayes icmp replies.</font></div><div><font face="Arial" size="2"></font> </div><div><font face="Arial" size="2"></font> </div><div><font face="Arial" size="2">i dont know from where this name resolution is taking place</font></div></div></span></blockquote><br></div><div>There is the possibility that /etc/nsswitch.conf might give you a clue...</div></body></html>