From MEPIS Documentation Wiki
OpenDNS offers DNS resolution for consumers and businesses as an alternative to using their Internet service provider's DNS servers. By placing company servers in strategic locations and employing a large cache of the domain names, OpenDNS usually processes queries much more quickly, thereby increasing page retrieval speed. DNS query results are sometimes cached by the local operating system and/or applications, so this speed increase may not be noticeable with every request, but only with requests that are not stored in a local cache. (Source]
The OpenDNS website makes it extremely easy to migrate to their service. You will enter their static DNS numbers for your computer or router, create a free account, and after a couple of clicks all is done.
For some Mepis users with connectivity issues (connection present - but unable to use the internet, or synaptic for updates), the use of the OpenDNS servers can often provide an easy solution.
There are two easy ways to set-up OpenDNS - change the setting in your router, and/or edit /etc/dhcp3/dhclient.conf file.
The router method may be a little trickier to set-up, but once it is done, it will never have to be reset - unless you factory reset your router, or replace it. [Advantage of this approach is that all computers behind the router should benefit.]
The file edit is easier to implement - but will need to be repeated if you ever reinstall Mepis. [Advantage of this approach, especially for a laptop, is that the laptop will continue to use openDNS, even when it's carried to another location!]
Implementation - Router
- The OpenDNS website makes it easy to select the brand and model of your router, and to see exactly which settings must be changed.
- If the OpenDNS page is not sufficient, download or access the manual for your router - google the brand and model, and search for a users manual. For this example - I'm using a Dynalink RTA 1320 ADSL2 router/firewall (excellent Mepis compatability).
- Using the manual - search for the correct method to access the web interface. For the RTA 1320, you simply open a browser and type the address 192.168.1.1 then enter
- A login window appears. The default login and password is admin/admin. It is a very good idea (for security) to change this password. Refer to your manual for instructions on how to do this.
- Once you are logged in, using the manual as a guide, navigate to the section on setting up DNS. For the RTA 1320, this appears under Advanced > Internet > DNS Server. Untick the 'enable automatic assigned DNS' box, and 2 new boxes for manual input of primary and secondary DNS addresses appear. Input the OpenDNS addresses:
- Primary DNS Server = 18.104.22.168
- Secondary DNS Server = 22.214.171.124
- Click apply
- Close the browser window - and you're done. To test the settings, navigate to http://www.opendns.com/ - the page will tell you if you are using OpenDNS!
Implementation - File Edit
- From the desktop,
<alt> + F2to bring up a run dialogue, then
kdesu kwrite /etc/dhcp3/dhclient.confand click run. Then put in root password at the prompt pop-up window. Kwrite should start with the file dhclient.conf open.
- Look for the line
#prepend domain-name-servers 127.0.0.1;and immediately below it, add this line
prepend domain-name-servers 126.96.36.199, 188.8.131.52;
- Save the file and then reboot your computer
- To test the settings, navigate to http://www.opendns.com/ - the page will tell you if you are using OpenDNS!