Test DNS Server Speed, Google Public DNS and OpenDNS Benchmarking

DNS (Domain Name System) is a hierarchical naming system built on a distributed database for computers, services, or any resource connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most importantly, it translates domain names meaningful to humans into the numerical identifiers associated with networking equipment for the purpose of locating and addressing these devices worldwide. With this DNS you can reach my blog just by type www.ivankristianto.com rather than using ip address like 67.228.191.153.

There are 2 big company that provide free DNS service, OpenDNS and Google Public DNS. But which one ise faster for you? I did a test to see which one is faster from my network.

For my test i’m using:
* Windows Vista SP2 with 2GB of Ram
* Internet connection speed DL 2mbps UL 512kbps

ver | time
nslookup www.google.com 208.67.222.222
ver | time
nslookup www.google.com 208.67.220.220
ver | time
nslookup www.google.com 8.8.8.8
ver | time
nslookup www.google.com 8.8.4.4
ver | time

Credit to Amit Argawal for this small script.

Results:

D:>testns.bat

D:>ver   | time
The current time is: 17:01:04.19
Enter the new time:

D:>nslookup www.ivankristianto.com 208.67.222.222
Server:  resolver1.opendns.com
Address:  208.67.222.222

Non-authoritative answer:
Name:    ivankristianto.com
Address:  67.228.191.153
Aliases:  www.ivankristianto.com

D:>ver   | time
The current time is: 17:01:04.98
Enter the new time:

D:>nslookup www.ivankristianto.com 208.67.220.220
Server:  resolver2.opendns.com
Address:  208.67.220.220

Non-authoritative answer:
Name:    ivankristianto.com
Address:  67.228.191.153
Aliases:  www.ivankristianto.com

D:>ver   | time
The current time is: 17:01:05.81
Enter the new time:

D:>nslookup www.ivankristianto.com 8.8.8.8
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
Name:    ivankristianto.com
Address:  67.228.191.153
Aliases:  www.ivankristianto.com

D:>ver   | time
The current time is: 17:01:06.08
Enter the new time:

D:>nslookup www.ivankristianto.com 8.8.4.4
Server:  google-public-dns-b.google.com
Address:  8.8.4.4

Non-authoritative answer:
Name:    ivankristianto.com
Address:  67.228.191.153
Aliases:  www.ivankristianto.com

D:>ver   | time
The current time is: 17:01:06.36
Enter the new time:

Readable result:

nslookup www.ivankristianto.com 208.67.222.222
Server:  resolver1.opendns.com
Start time: 17:01:04.19
End time: 17:01:04.98
Speed: 79ms

nslookup www.ivankristianto.com 208.67.220.220
Server:  resolver2.opendns.com
Start time: 17:01:04.98
End time: 17:01:05.81
Speed: 83ms

nslookup www.ivankristianto.com 8.8.8.8
Server:  google-public-dns-a.google.com
Start time: 17:01:05.81
End time: 17:01:06.08
Speed: 17ms

nslookup www.ivankristianto.com 8.8.4.4
Server:  google-public-dns-b.google.com
Start time: 17:01:06.08
End time: 17:01:06.36
Speed: 28ms

From the results OpenDNS took 79ms and 83ms, and Google Public DNS took 17ms and 28ms to reach www.ivankristianto.com. So Google Public DNS si relatively faster than OpenDNS from my network. And now i’m about to change my DNS setting to use Google Public DNS.

Give me your feedback

This site uses Akismet to reduce spam. Learn how your comment data is processed.