1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Google Public DNS, will it be better than others?

Discussion in 'Tomato Firmware' started by alexlau, Dec 4, 2009.

  1. alexlau

    alexlau LI Guru Member

    Google announced today their free Public DNS service, much like OpenDNS, it aim's to speed up the web. And it's free!


    Anyone tried it yet? Interesting to see how it compares to other free DNS...
  2. The Doctor

    The Doctor LI Guru Member

    Well, for starters, it gives Google yet another way to track you. Besides, many of Google's projects end up in eternal beta.
  3. mcala

    mcala Addicted to LI Member

  4. kooslx

    kooslx Addicted to LI Member

  5. phuque99

    phuque99 LI Guru Member

    will be rather bad for performance especially on sites that uses DNS on content delivery network.
  6. occamsrazor

    occamsrazor Network Guru Member

    You can test the different response times for your location by running the following script (and changing the websites tested with ones you use frequently if need be:

    for i in "lifehacker.com" "facebook.com" "manu-j.com"  "reddit.com" "tb4.fr" "bbc.co.uk"
      for j in "" "" ""
        echo $j $i `dig @$j $i | grep Query | awk -F ":" '{print $2}'`
    The code comes from the previous link

    For me GoogleDNS was marginally better on some sites, whereas OpenDNS was significantly better on others. Personally I'll stick with OpenDNS as I like some of the added features you get. Also the OpenDNS team has posted some of their thoughts on Google DNS which is interesting to read.

    If you don't need the added features of OpenDNS and just want the fastest response times - correct me if I'm wrong on this - you could add both OpenDNS and Google DNS servers to your router, and your router will use whichever returns the response fastest on a case-by-case basis.
  7. phuque99

    phuque99 LI Guru Member

    those are static ip sites. the significance of not using your local DNS IP is not seen. instead, check the actual sites that uses content delivery network, examples are "v10.lscache5.c.youtube.com" and "movies.apple.com".

    compare the IP address results that you get for both, on your own ISP's DNS, google and openDNS. then do a traceroute to them to check latency. you will almost always find that results from your own ISP will yield a server closer to you with much lower latency. ymmv if you're within US.
  8. wehugheog

    wehugheog Networkin' Nut Member

    I am running Tomato 1.28 and I would like ot set google's public DNS is basic>ddns DNS1. It expects a http:// format.

    What do I enter here?

    edit: I select Custom URL and then what? I tried putting http://google-public-dns-a.google.com in there but that does not work.
    Also I do not understand the (Use @IP for the current IP address). How to use it?

    Thanks a million for a reply. (will keep searching)
  9. bogderpirat

    bogderpirat Network Guru Member

    you need to set google's public dns under basic -> network as a static dns entry (ip will suffice there), not DDNS.

    DDNS stands for dynamic dns which effectively lets you use a host name that is not provided by the isp (i.e. something.dyndns.org) to redirect to your ip (
  10. wehugheog

    wehugheog Networkin' Nut Member

    Ok, so I got it wrong.

    I thought that I could have my ISP's DNS as primary and if that would go down (which often happens) that the router would use dns1 and dns2 as a backup.

    So that is not the case? Can I set up tomato 1.28 like that?
  11. occamsrazor

    occamsrazor Network Guru Member

    Namebench is very useful for testing the speeds of different DNS servers... just FYI.
  12. ntest7

    ntest7 Network Guru Member

    You can list multiple servers and dnsmasq will use whichever server is faster as the default; if that server fails, the others will be tried. Look at the log to see what order dnsmasq decides to use. This works on any version of tomato.

    If you want dnsmasq to always try the servers in the order you list them, you can specify "strict-order" in the dnsmasq custom configuration under Advanced: DHCP/DNS.
  13. The_Unknown

    The_Unknown Network Guru Member

    Thanks for the link, quite useful tool!
  14. kerbdog

    kerbdog Addicted to LI Member

    Written by a Googler too :)

Share This Page