Wireless unable to do DNS lookup ping is OK!

I started my laptop yesterday and i don’t think I made ANY config changes but my laptop did crash and I had to force a reboot.

Now I am unable to perform a nslookup. i can connect to the wireless fine, get an IP address and even connect to my phone over wifi, but as soon as I try goto a website it fails.

I can ping websites using the IP address e.g. I can ping 208.67.222.222 fine.

Someone please help me.

Thanks in advance.

On 07/12/2012 02:56 PM, rash m wrote:
>
> I started my laptop yesterday and i don’t think I made ANY config
> changes but my laptop did crash and I had to force a reboot.
>
> Now I am unable to perform a nslookup. i can connect to the wireless
> fine, get an IP address and even connect to my phone over wifi, but as
> soon as I try goto a website it fails.
>
> I can ping websites using the IP address e.g. I can ping 208.67.222.222
> fine.

Delete /etc/resolv.conf and reboot. That should fix the problem. If not, come
back for more suggestions.

Cheers mate thats fixed it!

It’s really wierd as there were lots of different resolv.confg.XXXX files I thought they were generated when I connected to the wireless using the KDE network manager.

I dont know why I didn’t try delelting/renaming the file - so obvious really!

All those resolv.confg.XXXX files are not doing anything. They are leftovers from different ways of editting the real file. You can delete them when you want.