Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By salemeni at 2011-08-03 06:46
The Domain Name System (DNS) is a hierarchical naming system built on a distributed database for computers, services, or any resource connected to the Internet or a private network. Most importantly, it translates domain names meaningful to humans into the numerical identifiers associated with networking equipment for the purpose of locating and addressing these devices worldwide.
An often-used analogy to explain the Domain Name System is that it serves as the "phone book" for the Internet by translating human-friendly computer hostnames into IP addresses. For example, the domain name www.example.com translates to the addresses 192.0.32.10 (IPv4) and 2620:0:2d0:200::10 (IPv6).[from Wikipedia ]
This tutorial explains how to use OpenDNS, a great alternative to DNS servers of ISPs, which offer many advantages for the user. 1- OpenDNS on Linux
Open a terminal as root and run the following commands:
If you have a router that is also a DHCP server on your home network or you are on a corporate network, it will then reconfigure it so that it uses the OpenDNS addresses (Primary DNS: 208.67.222.222 and secondary DNS : 208.67.220.220) and it propagates to all machines located on the network.
More help on configuring OpenDNS is available here: https://www.opendns.com/start
- To activate or not the correction of typing errors (google.cmo → google.com).
- Create shortcuts based on a single keyword. Once created, users can simply type keywords in the address bar of their browser to get directly to the desired site.
2. Benefits of OpenDNS
In addition to using the DNS service, it is also possible to open an account at OpenDNS, in order to have access to a management console that allows you for example:
- To obtain usage statistics such as number of DNS queries, or clear view of network activity.
- To choose several levels of security: anti-fishing, anti-pornography, or block the illegal networks. It is also possible to block certain areas directly.
Note that when you want to join a domain name that does not exist, you are redirected to an OpenDNS page that serves as a search engine (this is thanks to the ads found on this page OpenDNS earns money).
After several weeks of use, the service seems very reliable (no break) and very secure because they are reacting very quickly to the fault which affected DNS servers lately.
However, contrary to what one can read everywhere, OpenDNS is faster than the DNS of my ISP. Using the dig command lets put this into evidence.
Note that when you want to join a domain name that does not exist, you are redirected to an OpenDNS page that serves as a search engine (this is thanks to the ads found on this page OpenDNS earns money).
Is it a good search engine? Last time I saw it, the content was a list of very vaguely related sites, presumably paid for by the sites. For me this is broken behaviour and I would rather get a 404 in a web browser than useless advertising.
Quote:
However, contrary to what one can read everywhere, OpenDNS is faster than the DNS of my ISP. Using the dig command lets put this into evidence.
OpenDNS servers do respond quickly but generally not as quickly as the best ISP DNS servers. The test shown is only applicable for that ISP so has limited relevance for most readers of the article.
A script for testing response times of ISP, OpenDNS and Level3 public DNS servers is at http://pastebin.com/U0VBG96q. It has BSNL (Indian ISP) server IP addresses hard-coded so they need to be manually changed to the user's ISP's.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
Public DNS server response times can be tested via http://www.willemijns.com/dns.htm.
A script for testing response times of ISP, OpenDNS and Level3 public DNS servers is at http://pastebin.com/U0VBG96q. It has BSNL (Indian ISP) server IP addresses hard-coded so they need to be manually changed to the user's ISP's.