Home » Questions » Computers [ Ask a new question ]

Can't resolve domain names in Ubuntu with a static IP

Can't resolve domain names in Ubuntu with a static IP

Running Ubuntu 9.04 fully patched on a custom machine. My typical setup is to assign static IP's to all my machines in the network (simplifies things with the other hardware). This morning, my machine was doing fine and I was able to get out and about just fine, Didn't make any configuration changes then. Tonight, after I got home from work, I can't resolve domain names on my box, but I can get directly to IP addresses. When I switch from using a static IP to DHCP, domain names resolve again and I can get out everywhere. Does anyone know what would have changed to stop resolving domains, and how I can fix it so I can use static again? Thanks.

Asked by: Guest | Views: 87
Total answers/comments: 2
Guest [Entry]

"System > Preferences > Network Connections > Edit > IPx4 Settings > DNS Servers. Whatever is placed there, it does not work, maybe because your ISP started blocking external DNS traffic. Try to put there addresses of the OpenDNS nameservers, that is ""208.67.222.222, 208.67.220.220"" without the quotes.

Does it help?

Another option is that the avahi daemon stopped working"
Guest [Entry]

"Try using the Google-dns server.

IP's are 8.8.4.4 and 8.8.8.8, these work for me with arch Linux."