How to Find Best and Fast DNS Servers to Optimize Internet Speed

How to Find Best and Fast DNS Servers to Optimize Internet Speed

Internet has been becoming a core part in every day life. It helps us to know about many things just with a click. Using internet we are able to communicate with people far away from us. We can easily find answers to each and every question we have. And we can do lot more things than we imagine using Internet.

Sometimes our internet speed will become painfully slow. We will curiously sit to get things done faster, but our internet speed will irritate us. Today we will see how to choose a fastest DNS servers that accelerates our internet speed a little more than the normal usage.


namebench is a a cross platform GUI utility that will help you to find the fastest and as well as nearest DNS servers available for your internet connection. It will run a fair and thorough benchmark using your web browser history, tcpdump output, or standardized datasets in order to provide an individualized DNS server recommendation. namebench is completely free and does not modify your system in any way.

Install namebench on Ubuntu

sk@sk:~$ sudo apt-get install namebench

After installing namebench, launch it using command namebench from terminal.

sk@sk:~$ namebench


Click on Start Benchmark. It will take a while. After completing the test, the result will be automatically open in your browser.

namebench: 2013-07-17 13:49:52.588596 - Chromium_003As per the above output, my fastest and nearest DNS server is So change your DNS server address settings in your Network Connections.

More Outputs

namebench: 2013-07-17 13:49:52.588596 - Chromium_004


namebench: 2013-07-17 13:49:52.588596 - Chromium_005

namebench: 2013-07-17 13:49:52.588596 - Chromium_006

The first run is the one that is most likely to be accurate. The more times to run namebench, the more likely you are to be repeating the same queries over and over again. This will skew your results toward the closest nameserver to you, rather than the one most likely to have your requests cached during normal operations. For information about namebench, visit their official wiki page.


Here is my sample result that i have taken before and after running namebench.

Output with my Normal ISP DNS: - The Global Broadband Speed Test - Mozilla Firefox_001

Output after changing the DNS details to my nearest DNS server found by namebench. - The Global Broadband Speed Test - Mozilla Firefox_008


After switching over to my nearest DNS server, i found a best speed difference in my internet speed. Hope it does the same for you.


  • Gerhard Mack

    I find the final result rather suspect since I’m certain speedtest only starts testing after the DNS lookup. Did you run it more than once to filter for other possible traffic issues?

  • SK

    Yes I got the same result as like yours if i run the test more than once. The developers have mentioned in the website that if we run the test more than once it will skew the result.

  • Ian Draper

    Just installed and tried out the application and works great, and found l was able to increase my speed by 116.2% by using Ultra DNS so thanks SK and will be back! Great post! Can l make one comment on the code as a newbie be careful when copying and posting remove the sk@sk:~$ as it is yours and the $ is already in terminal when using sudo apt-get other than that marvelous!

  • SK

    Thanks.. I will do it in my upcoming articles..

  • Nestor

    How does choosing a different DNS server make any difference to your bandwidth as shown in the screenshot?

  • Rock

    not working…instead outgoing requests were intercepted

  • Ian Draper

    You need to open the link on the left-hand side marked download from and it will drop down, choose other and click it will find fastest for your particular server for downloading. You can decide to accept and suggest you test by opening a terminal and typing sudo apt-get update! It has worked for me every-time. Hope it works for you, let me know yes or no by adding a comment.

  • Pingback: How to increase speed of internet connection()