Can not access Internet (DNS names do not resolve) after update today

I have been using Precise for a few weeks now for work with no problem. Today, I am not able to access any website using either wired or wireless connections.

I installed the updates today which included nautilus, xserver, and a new kernel (3.2.0-24). After restarting I no longer was able to browse the Internet using firefox or chrome.

Trying to ping google in terminal gives

ping: unknown host google.ca

I have tried:

  • Connecting to wireless or wired networks (both working on other machines)
  • Restart the machine and boot with previous Kernel
  • Manually configure opendns on my wired connection
  • Restart the network and the laptop and the wireless card

Without any success so far. I am not sure where to go next. Please let me know the cause of the issue or help me troubleshoot it.

Note that the laptop does receive an ip address, and it can ping ip address of google.ca (74.125.127.94) but not the domain name, or any domain name for that matter.

This system was upgraded from 11.10 to 12.04 more two weeks ago.


Ok after trying several different things, and reading this post on DNS changes in Precise Pangolin I decided to go ahead and remove resolv.conf, actually I moved it:

 sudo mv /etc/resolv.conf /etc/backup.resolv.conf

In case I need it back. After doing this, dns resolution works and its faster too. The resolv.conf file was not regenerated instead there is now a folder in /etc/resolvconf which I believe contains DNS configuration files.

I am not able to explain the cause of this issue, so if you have some insight in this problem, please feel free to add your solution+explanation about what is happening here.