Thursday 12 April 2012

Google Public DNS – Use and Boost your DNS Caching Speed


Have you ever tried to change nameservers of your website? What happens then?


Your domain registrar changes them into your new nameservers and then they update their records of your nameservers. And let those new nameservers to be public. And when your ISP(Internet Service Provider) accesses the registrar’s database, they find the modification to your nameservers and update their records as well. So then you can access your website which is on different nameservers now.

                                               This looks like a 1-2-3 process. But it is not.

This whole procedure takes lot more time. Most likely, it is about 24-48 hours. This is because ISP’s don’t update their records very frequently. So even if it takes 5 minutes for you to change your nameservers, it takes 24-48 hours to see your website in your new server.


This is where we need Google Public DNS.


Google Public DNS(http://code.google.com/speed/public-dns/) is very useful service which allows us to access the latest content through routes which Google provides. There is very little configurations for using this service. Because I don’t know which Operating System you are using, I will re-direct you to their own configuration instruction page located here: http://code.google.com/speed/public-dns/docs/using.html#setup

Simplifying the process, you just need to change your DNS settings to manual and set DNS servers as following.

Primary DNS server: 8.8.8.8
Secondary DNS server: 8.8.8.4


If you are using IPv6:
Primary DNS server: 2001:4860:4860::8888
Secondary DNS server: 2001:4860:4860::8844


Then you are done! From now on, you will have the latest DNS changes cached within minutes since they changes from the back-end of the domain registrar.

No comments:

Post a Comment