Ashish Shukla आशीष शुक्ल <[EMAIL PROTECTED]> writes:
> > > >>>>> Rohit Kumar writes: > Rohit> Sunil Ghai <[EMAIL PROTECTED]> writes: > > >> > >> Hi Rohit, > >> > >> You might be having DNS problem. Make sure your DNS servers are properly > >> configured. > >> What does firefox show when you enter any address? Does it keep on showing > >> "Looking up.."? or what error ultimately comes? > >> > Rohit> Hi Sunil, > > Rohit> I checked out /etc/resolv.conf. > Rohit> I can ping the nameserver ip address in that file. > > Verify if nameservers are responding to DNS requests using: > > $ dig [some-domain-name] @nameserver-1-in-resolv-conf This works fine for a nameserver address, but the /etc/resolv.conf has a wrong entry in it. I tried changing it, but it resets to the invalid value, the one that is not working for me. > If that works successfully, check contents of /etc/nsswitch.conf, > esp. the hosts line. Following is the hosts line from my > /etc/nsswitch.conf: > > hosts: files mdns_minimal [NOTFOUND=return] dns mdns My entry reads as follows: hosts: files nis dis > If hosts line is okay, try stopping 'nscd' (if it is running) and then > do: > > $ getent hosts [some-domain-name] > > If DNS resolution is not working, try resolving using some other > nameservers, like 4.2.2.2, 208.67.222.222, 208.67.220.220 . > > If DNS resolution using other nameservers is also not working, try > visiting http://72.14.207.99/ in web-browser if that works. Then you > need to figure out which box is dropping UDP packets to port 53. You can > also try adding '+tcp' to 'dig' arguments to see if name-resolution over > TCP works or not. This numeric IP address is working fine :-) > Rohit> Also all browsers instantly show a server not found page. > Rohit> None of them even lingers on the *Looking up...* status. > > This means DNS is failing... I guess the *problem* has been nailed! :-) > Rohit> thanks, > Rohit> rohit. > > HTH So how do I correct the entry in /etc/resolv.conf so that it stays there and is not overwritten? thanks, rohit. _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Next Event: http://freed.in - February 22-24, 2008 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/