MakeTechEasier
  • Home
  •  
  • About
  •  
  • Archives
  •  
  • Jobs
  •  
  • Advertise
  •  
  • Contact Us
  • Windows
  • Linux
  • Mac
  • Internet
  • WordPress
  • iPhone
  • Android
  • All Categories
    • Android RSS
    • Firefox RSS
    • Gaming RSS
    • Google RSS
    • google chrome RSS
    • Internet RSS
    • iPhone/iPod Touch RSS
    • Linux RSS
    • Mac RSS
    • Mobile RSS
    • OpenOffice RSS
    • PC Hardware RSS
    • Review RSS
    • Roundup RSS
    • Windows RSS
    • Windows Mobile RSS
    • WordPress RSS
    • WordPress Plugins RSS
  • rss icon
  • email icon
  • facebook icon
  • twitter icon

How to Speed Up Browsing on All Platforms with Namebench

Posted by: Joshua Price on December 10th, 2009
  • View Comments
  • Share

namebench-internetlogoNo matter how fast your Internet connection, you may be hitting a bottleneck in web browsing when it comes to your DNS server. Even a 10mb pipe could seem slow when browsing the web if your DNS server is taking too long to respond. A few days ago, Google announced that they are now proving public DNS servers available for all to use. This has brought new attention to the question: what’s the fastest? In this article, we’ll be covering an open-source, multiplatform tool called namebench that will scan a list of public DNS servers, including Google and others, to find which is really the best for you.

What is a DNS server and why should I care?

In brief – a DNS server is what translates the domain names you type in your web browser (such as Yahoo.com) into usable IP addresses (like 209.131.36.159). When you enter a domain name, there has to be a DNS server somewhere along the line that can translate that name to an IP.

So each time you click a link or enter the name of a website into your address bar, your computer has to wait for the DNS server to respond and provide the real IP address of the site. If that DNS server is slow, you’ll have a delay in opening many of your sites, no matter how fast your internet speed, because you’re stuck waiting until you get a response.

If you’ve never manually specified a DNS server, you’re likely using the one provided by your ISP. There’s nothing necessarily wrong with that, but some ISPs don’t consider DNS performance a high priority. By choosing one of the other public DNS options, you may be able to make a noticeable difference in the time it takes to find and load websites.

So what are these public servers?

Since many ISPs don’t really worry too much about the speed of their DNS servers, other independent options have sprung up. The most popular has been OpenDNS, but that could change now that Google has entered the arena.

They both provide free access to their DNS servers. You can specify what DNS server to use on each individual computer, or inside your modem/router to have the change apply to all computers on your LAN. Applying these changes will be covered in more detail later in this article.

Getting namebench

We’ll be using namebench to scan a list of public DNS servers and determine our best options. Namebench runs on Linux, Windows, and Mac and can be downloaded for each platform at the link above.

It is a Python script and will require Python and the Python-tk library for graphics. You can skip the Python-tk requirement if you’ve satisfied with a command line interface.

Once you’ve got namebench downloaded, run the namebench.py file. I recommend running it from a command line window, as it prints a lot of information about what it’s doing to the console screen as it runs. If you have all the required software, you’ll get a screen similar to the following.

namebench-defaults

If you’re happy with the default settings, click Start Benchmark. This part may take a while. Give it at least 10 minutes to check all servers. Once complete, namebench will open your default web browser to a page showing the test results. The following shows the results of my benchmark.

namebench-results

This test showed that I got the best results from the public servers at OpenDNS, with Gorge Networks (my ISP) coming in second. After re-running the test a few times, my results varied a bit but my ISP always came in second (being the closest, geographically).

Applying your new DNS settings

Once you know the fastest servers for you, the next step is to apply those changes. For the sake of future simplicity, I suggest specifying the DNS info in your modem or router. Then you won’t have to worry about entering DNS info on every computer, or re-entering it after a new OS install.

Instructions for exactly how to do this vary widely depending on what modem/router you’re using. On my TP-Link DSL modem, I log in to 192.168.1.1 and put the DNS settings in the WAN > DNS section.

namebench-modemconfig

Linux users can manually specify the DNS server by editing the file /etc/resolv.conf.

Windows users can enter DNS settings on the TCP/IP Properties screen of each network adapter.

Mac OSX users can access DNS settings from the TCP/IP tab for any network interface inside the Network section of System Preferences.


Josh Price is a Linux professional and contributing writer to MakeTechEasier.com

Tags: Browser, dns, namebench, speed
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

Share and Enjoy!

  • StumbleUpon It!
  • reddit

Related Posts

  • How to Set Up a VNC Server In Ubuntu Hardy Heron
  • [Hacking WordPress]: How To Clone And Migrate Your WordPress Blog To New Server
  • How To Connect To Your WordPress Account Via Secure FTP
  • How to use SSH X-forwarding to Run Remote Apps
  • A Quick and Easy Guide to KDE KIO slaves

Popular Posts

  • Turn Your Ubuntu Hardy to Mac OSX Leopard 502 comment(s)
  • Turn Your Ubuntu Intrepid Into Mac OSX Leopard 316 comment(s)
  • Download EASEUS Partition Master For Free – 24 Hours Only 178 comment(s)
  • How To Boot And Install Windows 7 From USB Flash Drive 137 comment(s)
  • 28 Coolest Firefox About:Config Tricks 126 comment(s)

Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.

Enter your email:

  • mxyzptlk
    I tried namebench a number of times in a row. Each time I accepted the recommended DNS servers, made the changes, then ran the test again. Each time I ran the test again, namebench said I could do better by about 60% if I just changed the DNS servers again.

    Seems kind of flakey.
  • David
    pretty good point, here is another good article that may offer you more tips on the computer optimization: http://ezinearticles.com/?How-to-Speed-Up-a-Slo...
  • john
    Are there any assurance from Google as to what they are going to do with all of your DNS request info? how long they will keep it? They have not been very forthcoming in the past.
blog comments powered by Disqus

Our Writers

  • Damien Oh - Chief Editor
  • Joshua Price
  • Shevonne Polastre (FreeAgentWriter)
  • Tavis J. Hampton (Lantern Torch)
  • Trevor Dobrygoski
  • Soumen Halder (Ampercent)
  • Sharninder Khera (Geeky Ninja)
  • Tanmay Ahmed (Tech-Tips-Geek)
  • Write for us

Latest Posts

  • How To Pin Any Files/Folders To Windows 7 Taskbar
  • Manage Your RSS Feed In Mac With NetNewsWire
  • How to Migrate From Blogger.com to Self-Hosted WordPress
  • Google Reader Play – The New Web Discovery Portal
  • How to Use Dropbox in a Non-Gnome Environment
Make Tech Easier on Facebook
Jobs by SimplyHired
Job Widgets

Copyright

All the articles (including the text, images and tutorials) are properties of MakeTechEasier.

You cannot copy whole tutorials, either in English or translate to another language without our permission.

Write for us

Writing a tutorial or article for MakeTechEasier is a great way to get exposure and give back to the community.

Read More Details

Suggestions

We need your help to help us serve you better! This is YOUR site, so if you have suggestions/feedbacks on how we can improve it for you, please let us know! We do our best to make this place better!

Make a Suggestion

Navigation

  • Home
  • About Us
  • Advertise
  • Jobs
  • Archives
  • Contact Us

Copyright © 2007-2010 Make Tech Easier | All Right Reserved.