Manually editing dns addresses
THIS WILL NOT WORK IN 12.04
In rare cases, the ISP will fail to send the correct DNS addresses to the user or the DNS addresses are not working quickly or correctly, you will need to manually add them in/change them.
To do so, you will need to open /etc/resolv.conf with nano from the terminal using the command.
sudo nano /etc/resolv.conf
In nano, you will need to edit the file to either add or replace the existing nameserver lines. They should look similar to this.
nameserver ***.***.***.*** nameserver ***.***.***.***
In the place of the *s is the DNS ip address.
You should always include two DNS addresses for safety.
Google Public DNS addresses
nameserver 22.214.171.124 nameserver 126.96.36.199
nameserver 188.8.131.52 nameserver 184.108.40.206