How to change the default DNS Addresses

Having problems with your internet connection?. One of the most viable solution is to change the DNS. Especially if some applications that use internet only work, but the HTTP or HTTPS requests do not work properly.

What is a DNS?

It is a hierarchical naming system for computers, services or any resource connected to Internet or a private network. Its main function is to translate and/or resolve intelligible names for people in binary identifiers associated with networked computers, this in order to better target and address these devices worldwide.

How works a DNS Server?

When we type a website name in our browser it usually contacts nearest DNS server to get website name translated to IP address. Users generally do not communicate directly with the DNS server: name resolution is done transparently by the client applications (such as browsers, email clients and other applications that use Internet). When making a request that requires a DNS lookup, the request is sent to the local DNS server operating system. The operating system, before establishing any communication, check if the answer is in the cache. In a negative response, the request is sent to one or more DNS servers.

The DNS server also does a search in its cache, if  the response is found, it will be served to the client application, if not, then does a recursive search and when the answer is found it is stored in the cache of the same server for  future uses

How many DNS addresses has a router?

A router has two DNS addresses that are normally provided by the same Internet Service Provider, however, we have to know that the DNS servers can work independently of the ISP and, in fact, they are scattered all over the world, so that any user have a DNS server as near as possible.

 

Can I Manage my own DNS Addresses?

Yes, the management of these servers can be configured manually or automatically via DHCP. In other cases, network administrators have set up their own DNS servers.

Before we start we need to know the address of the Gateway router to access its web configuration. In any case, assuming that the Gateway uses the well known IP Address 192.168.0.1, let's start giving an example using a D-LINK router.

The Index Page of D-LINK DIR 505 model

Step 1: Click on the 'Manual Internet Connection Setup' button. It will open he next window:

Step 2: Edit your Primary and Secondary DNS Servers. You can use any of the public and free DNS address provider just like Google or OpenDNS


Google DNS:

8.8.8.8
8.8.4.4

OpenDNS:

208.67.222.222
208.67.220.220 

There are many other DNS Addresses provider and you can choose the one that best suits your needs. There are many options ranging from fully open to other that block pages requested by users, ideal for companies, schools and government institutions.

Step 3: Once you completed the address fields you must to click on 'Save Settings' button to save the changes.

Note: Saving changes may be required restart both the router and the modem, you may also experience some delay when you make the first request in the browser. This is a normal behavior