Difference between revisions of "Manually editing dns addresses"
Jump to navigation
Jump to search
(Created article for future cases of missing DNS information.) |
|||
Line 9: | Line 9: | ||
In nano, you will need to edit the file to include these lines of code | In nano, you will need to edit the file to include these lines of code | ||
− | |||
− | |||
nameserver ***.***.***.*** | nameserver ***.***.***.*** | ||
nameserver ***.***.***.*** | nameserver ***.***.***.*** |
Revision as of 16:11, 21 March 2012
Repairing resolve.conf
In rare cases, the ISP will fail to send the correct DNS addresses to the user and you will need to manually add them in.
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 include these lines of code
nameserver ***.***.***.*** nameserver ***.***.***.***
In the place of the *s, put in the DNS Server Addresses.
DNS Servers
You should always include two DNS addresses for safety.
Google Public DNS addresses
- 8.8.8.8
- 8.8.4.4
OpenDNS
- 208.67.222.222
- 208.67.220.220