Today, Google has announced the launch of their free DNS resolution service. Many ISPs and 3rd party provider such as OpenDNS snoops around or send traffic to ad servers. However, Google promises not to play with end users and send the exact response his or her computer expects without performing any blocking, filtering, or redirection that may hamper a user’s browsing experience. In other words Google will not hijacking your traffic on non-existent domain name and it will follow strict RFC standard.
From the blog post:
The DNS protocol is an important part of the web’s infrastructure, serving as the Internet’s “phone book”. Every time you visit a website, your computer performs a DNS lookup. Complex pages often require multiple DNS lookups before they complete loading. As a result, the average Internet user performs hundreds of DNS lookups each day, that collectively can slow down his or her browsing experience.
Google DNS Server IP Addresses
The Google Public DNS IP addresses are as follows:
How Do I Add Google DNS Server IP Address Under Linux?
Simple edit the /etc/resolv.conf file and add above two ip address:
nameserver 22.214.171.124 nameserver 126.96.36.199
Google DNS Server vs Your ISP Server
CDN servers will not work correctly and they will return a list close to Google’s DNS servers.
host i.dell.com 188.8.131.52
Using domain server: Name: 184.108.40.206 Address: 220.127.116.11#53 Aliases: i.dell.com is an alias for img.dell-cidr.akadns.net. img.dell-cidr.akadns.net is an alias for ccdn-global.dell.com.edgesuite.net.globalredir.akadns.net. ccdn-global.dell.com.edgesuite.net.globalredir.akadns.net is an alias for a1058.g.akamai.net. a1058.g.akamai.net has address 18.104.22.168 a1058.g.akamai.net has address 22.214.171.124
126.96.36.199 & 188.8.131.52 located somewhere in KUALA LUMPUR.
host i.dell.com 184.108.40.206
Using domain server: Name: 220.127.116.11 Address: 18.104.22.168#53 Aliases: i.dell.com is an alias for img.dell-cidr.akadns.net. img.dell-cidr.akadns.net is an alias for ccdn-global.dell.com.edgesuite.net.globalredir.akadns.net. ccdn-global.dell.com.edgesuite.net.globalredir.akadns.net is an alias for a1058.g.akamai.net. a1058.g.akamai.net has address 22.214.171.124 a1058.g.akamai.net has address 126.96.36.199
188.8.131.52 & 184.108.40.206 located in India. This also applies to NTP pool servers.
- Ping times (ISP dns servers) – 20ms
- Ping times (Google dns servers) – 116ms
- Ping times (OpenDNS servers) – 190ms
Resolving timings (use dig @dns-server.address domainname.com):
- ISP DNS Server – 41 msec
- Google DNS Server – 262 msec
- OpenDNS server – 213 msec
In other words I will use my ISPs server instead of Google or OpenDNS due to speed issue and incorrect handling of CDN servers. If you own a small LAN, I recommend setting up a caching dns server called dnsmasq.