Google Public DNS Servers Launched

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:

Advertisement

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:
8.8.8.8
8.8.4.4

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 8.8.8.8
nameserver 8.8.4.4

Save and close the file. Google do have clear cut privacy policy and speed also seems good to me as compare to my ISP. I guess the people at OpenDNS are going to be pi**ed by this.

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 8.8.8.8
Sample outputs:

Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#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 203.106.85.169
a1058.g.akamai.net has address 203.106.85.170

203.106.85.169 & 203.106.85.170 located somewhere in KUALA LUMPUR.
host i.dell.com 202.56.250.5

Using domain server:
Name: 202.56.250.5
Address: 202.56.250.5#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 122.166.109.9
a1058.g.akamai.net has address 122.166.109.11

122.166.109.9 & 122.166.109.11 located in India. This also applies to NTP pool servers.

Speed

Ping-pong timings:

  • 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.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

35 comments… add one
  • Jon Jan 22, 2010 @ 21:34

    Comodo also offers free DNS, I think that if you care about privacy you should be using an external DNS and not your ISP.

    • Jasen May 25, 2010 @ 11:36

      DNS is cleartext ypur ISP can still read the traffic if they want.

  • kubrick Jan 26, 2010 @ 9:21

    The IP address is very easy to remember.
    I think it’s the only advantage of this public DNS service.
    My ISP DNS (Telefonica) is currently working faster.

    Cheers!

  • fox May 21, 2010 @ 6:03

    I think if you care about privacy you would never ever want to use google DNS!
    I’m pretty sure google will collect everything plus more about you and what domains you are resolving.

  • Fred Obvious May 22, 2010 @ 6:11

    Uh, no, they didn’t anounce this ‘today’.

    They announced it in Dec of 2009 – its old news.

    • 🛡️ Vivek Gite (Author and Admin) nixCraft May 22, 2010 @ 7:48

      This is old news; but I got some sort of problem with WP it is showing old feed item as new items.

  • Jasen May 25, 2010 @ 11:42

    google’s DNS outperforms my ISP on certain domains,
    I think someone has dropped the ball.

    jasen@gonzo:~$ host usmc.mil
    usmc.mil has address 204.223.145.65
    ;; connection timed out; no servers could be reached
    jasen@gonzo:~$ host usmc.mil 8.8.8.8
    Using domain server:
    Name: 8.8.8.8
    Address: 8.8.8.8#53
    Aliases:

    usmc.mil has address 204.223.145.65
    usmc.mil mail is handled by 10 mx3.nmci.usmc.mil.
    usmc.mil mail is handled by 10 mx4.nmci.usmc.mil.
    usmc.mil mail is handled by 10 mx7.nmci.usmc.mil.
    usmc.mil mail is handled by 10 mx8.nmci.usmc.mil.
    usmc.mil mail is handled by 10 mx1.nmci.usmc.mil.
    usmc.mil mail is handled by 10 mx2.nmci.usmc.mil.

    send in the marines!

  • Nilesh May 27, 2010 @ 4:31

    Google DNS is not suitable if you want to filter out sites like OpenDNS. I’ll stick with OpenDNS until Google launches their filtering service. I don’t want to be a victim of phishing, etc. !

  • horis insurance Oct 3, 2010 @ 23:26

    Possibly the greatest read that I read in my life???

    Thurman

  • Sam Dec 16, 2010 @ 9:51

    Google may be good or evil but I’m in Vietnam right now and if I want access to Facebook I can either install Tor or I can use Google’s DNS. I think it’s nice, even if they actually get some financial benefit from it.

  • joe Nov 23, 2011 @ 16:35

    will they have any restrictions on what websites we can visit and what content we can download?

  • carlos Montoya Jul 6, 2016 @ 22:52

    Do a little research on NSA “Get it all” project. Google and Cisco are favored partners using fiber optic mirror technique. 8.8.8.8, 8.8.4.4 , 4.4.4.4 are tiny fraction of name servers operated by google. Look it up ( don’t be silly and use google search !) DuckDuck go is safe to use. When Google offers free dns and other services very few ISPs can say “no” today unless they are very big and well connected.

    • Matt Nov 13, 2016 @ 16:54

      4.4.4.4 is NOT a DNS server.

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.