Difference between revisions of "Manually editing dns addresses"
Jump to navigation
Jump to search
(Created article for future cases of missing DNS information.) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{cleanup}} | ||
==Repairing resolve.conf== | ==Repairing resolve.conf== | ||
− | In rare cases, the ISP will fail to send the correct DNS addresses to the user | + | '''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. | To do so, you will need to open /etc/resolv.conf with nano from the terminal using the command. | ||
Line 7: | Line 10: | ||
sudo nano /etc/resolv.conf | sudo nano /etc/resolv.conf | ||
− | In nano, you will need to edit the file to | + | 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 ***.***.***.*** | ||
nameserver ***.***.***.*** | nameserver ***.***.***.*** | ||
− | In the place of the *s | + | In the place of the *s is the DNS ip address. |
==DNS Servers== | ==DNS Servers== | ||
Line 22: | Line 22: | ||
==Google Public DNS addresses== | ==Google Public DNS addresses== | ||
− | + | nameserver 8.8.8.8 | |
− | + | nameserver 8.8.4.4 | |
==OpenDNS== | ==OpenDNS== | ||
− | + | nameserver 208.67.222.222 | |
− | + | nameserver 208.67.220.220 | |
[[Category: Tech support]] | [[Category: Tech support]] | ||
+ | [[Category: Needs Updating]] |
Latest revision as of 17:00, 24 October 2013
This page or section appears to be out of date or otherwise inaccurate.
Please edit as seems necessary, removing the {{cleanup}} tag when you are through.
Repairing resolve.conf
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.
DNS Servers
You should always include two DNS addresses for safety.
Google Public DNS addresses
nameserver 8.8.8.8 nameserver 8.8.4.4
OpenDNS
nameserver 208.67.222.222 nameserver 208.67.220.220