DNS look-ups are a very sensible topic. Of course you want very fast name-to-IP resolutions, but should you always use Google’s DNS server? After all they can keep track of all your network motion profile unless you are surfing by IP! Today I read about the OpenNIC Project and ran some speed tests. It’s very interesting and worthy to know about!
The project about itself:
OpenNIC (a.k.a. "The OpenNIC Project") is an organization of hobbyists who run an alternative DNS network. [...] Our goal is to provide you with quick and reliable DNS services and access to domains not administered by ICANN.
Ok, I gave it a try and implemented a Perl-script that checks the speed. It throws a dice to call one of my often used domains and digs1 each of my predefined DNS servers to save the query time. I tested the following DNS server:
22.214.171.124: one server of the OpenNIC project, located in Germany
126.96.36.199: one server of the OpenNIC project, located in Germany (NRW)
188.8.131.52: Google’s public DNS server, proven to be fast and reliable
172.16.20.53: my ISP’s server
184.108.40.206: name server of our university
Find the Perl code attached.
And here are the results after 10000 qeuries:
|172.16.20.53||my ISP||131989 ms|
|220.127.116.11||NS of uni-halle.de||394134 ms|
As you can see, my ISP’s DNS server is the fastest, they may have optimized their internal infrastructure to provide very fast look-ups to its customers. But it is also nice to see, that there is one OpenNIC server that is faster than google! And this server comes with another feature: It doesn’t track any logs! Isn’t that great!?
I can’t recommend to use any special DNS server, but I want to advise to test them and find the best one for your demands! Feel free to post your own test results via comment or trackback.