Performance comparison of OpenDNS and Google DNS
Google recently launched it’s own Public DNS offering, allowing Internet users to make use of their DNS servers for resolving address queries on the Internet. I have been a fan and user of OpenDNS for quite some time now, which offers the same service with many more options (as compared to Google’s new service). Immediately, I was curious as to how Google’s service compares with OpenDNS.
On a functional and service offering standpoint, I don’t need to really talk about anything, because the founder of OpenDNS already has excellent thoughts on this topic. But he doesn’t talk about the most important metric of all, which is performance. I was curious about how the two compare on pure performance terms. So, sitting in India, I decided to run a quick test myself to measure the performance between the two.
The method is the same as I used when I compared OpenDNS with Airtel, my local ISP in India. I basically measured lookup times of 100 random domains and compared the two DNS on that metric. Here are my findings.
The graph below plots the query response time for both the DNS services for 100 random domains. What we can see from the graph already is that neither one is clearly faster than the other.
Here’s another graph which gives clarity on which one is faster more often:
As we can see, they are almost the same. So, how do we know which is better or faster?
I took a look at the average of the measurements for the two services, and this is what I found:
- OpenDNS – 0.38
- Google Public DNS – 0.41
This means that on average, OpenDNS is slightly faster than Google. However, as we can see there are 3 spikes in the Google Data, and one in the OpenDNS data. When I remove those, the average for the two is almost the same (with OpenDNS being marginally slower).
Another thing worth noting however is the Standard Deviation – the measure which tells us how often will the measurement fall close to the average performance. This can even be surmised by the first graph. With the complete measurements, the Standard Deviation of Google was about 3 times that of OpenDNS, and even with the spikes removes, the standard deviation of Google was twice that of OpenDNS. Which means that OpenDNS on the whole is more consistent in its operation.
This means that when Google is deviating on the faster side, it will be much faster than OpenDNS, but when it deviates on the slower side, it will be much slower than OpenDNS (on average).
At this stage, I will have to say that I cannot conclude, though I would like to think that OpenDNS is a better performer for providing consistent performance, as compared to Google Public DNS. But with Google’s muscle, I am sure that it will eventually surpass OpenDNS on these parameters. Who knows, maybe Google will buy OpenDNS (although I am not sure if they will be selling).
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.





December 4th, 2009 at 5:20 pm
More important difference is that Google’s service works 100% as standard says, returning NXDOMAIN on nonexisting domains instead of redirecting to a spammy ad-page like OpenDNS does.
December 4th, 2009 at 6:21 pm
Well yes, that is always a contention with OpenDNS. However, I typically ignore their page when that happens, anyway, as I am guessing most of the users do.
It is very clear, since it says OpenDNS on the very top
December 4th, 2009 at 7:30 pm
I agree. I very seldom ever see their page. Maybe i’m just a good typer? Plus, running Firefox with adblocker you don’t see the ads anyway.
December 4th, 2009 at 9:23 pm
Ah, the good old AdBlock – too bad I run Chrome
December 21st, 2009 at 4:50 am
There is a Chrome Extension called AdSweep. I am using it on my system and it works great.
December 4th, 2009 at 5:25 pm
I think that i give enough information to Google by using their services and i’m not sure if i’ll use their DNS too.
December 4th, 2009 at 6:22 pm
Personally, I don’t care about my data on Google. But I think OpenDNS is a better functional package at this time with similar performance measures to Google
December 4th, 2009 at 5:29 pm
Just to note about too much paranoia: the privacy policy on DNS service stats that this information is not linked to any Google account in any way and IP information is purged within 48 hours.
December 4th, 2009 at 6:27 pm
Yes, I think the paranoia is over hyped…
December 4th, 2009 at 5:30 pm
Could you also check the data between Google, OpenDNS and DNS advantage(http://www.dnsadvantage.com/dnsadv/index.html) as well.
The comparison could be quite useful as well.
Good work, man.
December 4th, 2009 at 6:27 pm
Hmm.. I didn’t know about UltraDNS (DNSAdvantage) till now. Maybe I will check it out
December 5th, 2009 at 3:17 am
IIRC, UltraDNS still hosts the root for .ORG. They’re pretty big.
December 4th, 2009 at 6:14 pm
Thanks for the really interesting post. I’ve been testing OpenDNS for a while but since I’m a huge fan of Google’s approach to most things I reckon I’ll check out their DNS services too. Yes, they know a lot about me but since it usually enhances my life I’m really not bothered
December 4th, 2009 at 6:24 pm
I agree. I think Google will overtake soon enough anyway – Google has the infrastructure to make this DNS local in most geographies too..
December 4th, 2009 at 6:44 pm
3 spikes in a hundred points isn’t really enough spikes to make a conclusion about said spikes. Would be cool to redo the test with something like 5000 data points (thus should be nearer 100 spikes). As well as doing this every hour to see how performance varies with overall load (ie. America wakes up, America goes back to sleep, etc.)
December 4th, 2009 at 6:57 pm
You are right, I should do this for a larger data set too… However, I did mention the data without the spikes, and Google DNS still has more standard deviation.
December 4th, 2009 at 7:40 pm
Oh indeed, your other conclusions were splendid. I found the analysis very interesting and useful.
December 4th, 2009 at 8:10 pm
I wrote my own interpretation of Google’s DNS versus OpenDNS here: Google Public DNS versus OpenDNS
December 5th, 2009 at 2:42 pm
I tried Google Public DNS and its fast
My report shows almost 50% less latency but when I changed name server for one of domain
it took time to reflect that changes on my local PC and as soon as I changed it to Open DNS
I can see name server change
December 5th, 2009 at 8:06 pm
I have noticed that in the past too… Although, this can’t be conclusive, but OpenDNS does reflect a changed DNS pretty quickly.
Did you say that Google DNS was 50% faster in general or when compared to OpenDNS?
December 10th, 2009 at 3:29 am
I am pleased to read your Post Vaibhav. Its the only article I cam across after reading some 10 or so posts on GoogleDNS Vs OpenDNS.
The brevity and conclusiveness with which you have written the above and some graphs and charts thrown in are just what a nerd needs to make his day complete.
Articles like these are hard to come by and well, please be good enough to suggest me some more people whom you follow.
Gives me courage to read about SNMP now. Sweet
December 10th, 2009 at 9:45 pm
Thanks Vaibhav.. As for people I follow, not too many, but take a look at people I follow on Twitter…
Yeah, you go read that SNMP stuff
December 17th, 2009 at 1:46 pm
I am a very happy user of openDNS and have no intention of leaving for an upstart. openDNS has other services that make it worth staying with them, so if you don’t know what that means, check them out before deciding for yourself if you really need an independent DNS service.
December 17th, 2009 at 2:46 pm
I am surprised that a Google backed service would be termed as an “upstart”.
I agree with you on the value added proposition that OpenDNS has makes it worthwhile sticking with them.
February 15th, 2010 at 3:19 am
First time reader of the site, but to the topic at hand…I currently run 3 different DNS at different locations and even some on the same network provider yield different results. So you as a person should look for what works for each individual location. That being said alot of people will more than likely use the GoogleDNS because of the name. I just dont see myself leaving OpenDNS for my home and my next choice would be Ultra. Im trying to avoid everything google. IMHO bing is a superior search engine these days and google documents cant replace office/iwork so there is no reason for me to suffer with the crazy amount of trash adds and their weighted search results. Don’t know if anyone else feels same way, but its getting harder to get good information off page 1 these days because of how results are now
/end rant