Almost every single time you visit a website you are using DNS. DNS serves a lot of functions, but the most frequent thing most depend on it for is translation of the domain name you type into your browser (such as www.google.com) to an associated IP address, which is where the site really lives. Thanks to DNS, we don’t need to memorize a long list of IP addresses when browsing the web. Instead, we get the convenience of the human readable website addresses we’re used to using. Imagine having to identify everyone you know by their social security number rather than their name, and you can see why DNS is so critical to the modern web. In most cases, our ISP provides a DNS server, and most people use this as the default DNS for their home networks, however ISP provided DNS is rarely ever the fastest, or even most ethical option. Simply put, the suits who run ISPs have figured out yet another way to chew up the very bandwidth we’re paying them for by shamelessly inserting ads and unsolicited redirects into a service that had been previously non-commercialized.
Over the last few years, in response to this unregulated ISP abuse of foundational Internet technologies, many alternative public DNS servers such as OpenDNS or Google DNS have been created. Regardless of who you’re using for your DNS needs, it is still nice to scout out what other, more responsive public DNS servers may be best given your geographic location. Today I’ll shine the Smalley Creative Spotlight on a small and intuitive utility that helps in this noble step toward network optimization.
Thanks to the forward-thinking management team at Google, and their fabled and effective Innovation Time Off 20% time program, a Google employee from Belgium named Thomas Stromberg created just the utility for this task, and it’s called namebench.
namebench is a tiny utility that has a lot going for it. It’s open source software, and it’s cross-platform, running across Linux, MacOS, and Windows. namebench is a utility that does one thing and does it well. It will scan your browser history to see what websites you visit the most, taking these domain names into account while conducting a scan. After completing a benchmark, namebench will generate a report of the data it has gleaned in the form of a local webpage on your machine with a lot of useful information regarding which public DNS servers are the most responsive for you (including pretty and informative graphs). For all of my fellow command line junkies out there, namebench will also run as a command-line utility, forgoing the web-based output for a more traditional and consolidated text-based output in your shell.
Thomas Stromberg’s contribution of a utility that fills a niche need, and his clear mindfulness of the rules of the Unix philosophy in designing this tool have earned namebench a place in the Smalley Creative Spotlight.
Download namebench for your platform @ http://code.google.com/p/namebench/
Leave a Reply