Ubuntu – DNS stopped working on laptop

11.10dnsnetworkingwicd

Was working fine then stopped inexplicably.

I can ping the gateway/DNS router/firewall (Untangle) using WiFi and cable using WiCd. Network Manager does not work on this computer

Firefox reports "server not found" & pinging google.com gives "unknown host".

WiCd setting show proper DNS IP, /etc/reslov.conf contains the correct IP (it was missing but I replaced it).

The DNS server/gateway (192.168.0.1) works with other computers on the local network.

From laptop (192.168.0.55)…

user@laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.0.1

user@laptop:~$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_req=1 ttl=64 time=0.854 ms
64 bytes from 192.168.0.1: icmp_req=2 ttl=64 time=0.875 ms

user@laptop:~$ ping 192.168.0.5
PING 192.168.0.5 (192.168.0.5) 56(84) bytes of data.
64 bytes from 192.168.0.5: icmp_req=1 ttl=64 time=0.774 ms
64 bytes from 192.168.0.5: icmp_req=2 ttl=64 time=0.747 ms

From workstation (192.168.0.5)…

user@workstation:~$ ping 192.168.0.55
PING 192.168.0.55 (192.168.0.55) 56(84) bytes of data.
64 bytes from 192.168.0.55: icmp_req=1 ttl=64 time=0.754 ms
64 bytes from 192.168.0.55: icmp_req=2 ttl=64 time=0.720 ms

user@workstation:~$ ping google.com
PING google.com (74.125.224.110) 56(84) bytes of data.
64 bytes from nuq04s08-in-f14.1e100.net (74.125.224.110): icmp_req=1 ttl=46 time=90.6 ms
64 bytes from nuq04s08-in-f14.1e100.net (74.125.224.110): icmp_req=2 ttl=46 time=92.2 ms

From laptop…

user@laptop:~$ ping 74.125.224.110
PING 74.125.224.110 (74.125.224.110) 56(84) bytes of data.
64 bytes from 74.125.224.110: icmp_req=1 ttl=46 time=105 ms
64 bytes from 74.125.224.110: icmp_req=2 ttl=46 time=91.5 ms
64 bytes from 74.125.224.110: icmp_req=3 ttl=46 time=92.2 ms
64 bytes from 74.125.224.110: icmp_req=4 ttl=46 time=89.3 ms

And also from laptop (using sudo)…

root@laptop:~# ps -e | grep bind
root@laptop:~# ps -e | grep net
   17 ?        00:00:00 netns
root@laptop:~#

Additional information…

The laptop is dual boot, and with the same hardware Windows has no DNS problems. Also, there are three connection methods to the internet, two WiFi APs and a wired connection. This problem occurs on all three.

Skype seems to work, having no problems connecting to its network.

This Lenovo S12 (Intel atom) laptop does not seem to play nice with Linux/Ubuntu as several custom work-arounds are required to get Ubuntu working ⋯ e.g. needing WiCd because Network Manager does not work. More here, here, here, and here.

Best Answer

Resolution discovered.

/etc/resolv.conf is being deleted. How or why is undetermined.

It may be due to the fact that changing DNS in WiCd does not result in resolv.conf being changed.

Thanks to all for the suggestions.

Related Question