How-To: Boost Your Web Browsing Performance Like an IT Pro Using DNS
4.) Test the Speed of Your New DNS Server
The Gibson Research Corporation is creating a free DNS benchmarking web application, but unfortunately at the time when this article was written, it wasn’t quite ready for primetime. This tool shows amazing promise and I would suggest checking back at that link often to see the final results.
Until then unfortunately, we’ll have to do this the hard way! Start by downloading the Dig DNS Query Tool. The tool was created by Nicholas Fong, and for those that have been longing to plunge into a DOS box, get ready to get your geek on. Once you have downloaded the .zip file, extract the contents into c:\dig. Before you attempt to run the benchmark tool however, a couple of changes to the programs configuration are required. You can allow us to make these changes for you by downloading a 100kb patch file, or you can make the changes manually. Keep in mind however, that the patch can only be used if you installed the DNS tool in c:\dig, and if Windows is installed in the default directory (c:\windows). If this is not the case, simply follow the steps below.
**SKIP THIS STEP IF YOU APPLIED THE PATCH**
**If you wish to make the changes manually, simply open Notepad and direct it to open c:\dig\resolv.conf. Once you have opened this file, simply delete any visible text, then close and save the file. You now need to manually transfer a copy of the file to c:\”your windows directory”\system32\drivers\etc.**
Running The Benchmark:
Using Windows XP:
Click Start / Run / Then type “cmd” and press Enter
Using Windows Vista / 7
Click Start / then type “cmd”. When you see the cmd.exe icon appear at the top of your search menu, press Ctrl + Alt + Enter to Run As Administrator
You will then be greeted with a command line interface where you can type the commands listed on each line below. Keep in mind you need to press Enter at the end of each line.
cd\dig
patch.bat (only if you installed the patch without making the changes manually)
You can now test out performance by entering known, or unknown domain names. For example:
dig maximumpc.com NS
dig twitter.com NS
dig lolcats.com NS
You will start to notice that if you query a domain that you have visited recently, the IP address may be pulled from cache rather than the DNS servers and won’t give you fair results. You should query domains that you know you’ve never visited to get a clear picture. Just about every single word in the English language has been claimed on “.com”, use your creativity to come up with your own examples, and if that doesn’t work just Google something and note the URL’s on the results.
You can also query a list of top level domain servers.
dig com. NS
dig net. NS
dig us. NS
You can now go back and change your DNS server using steps 2 or 3 until you find the best result. Keep in mind that the best time to really test your new DNS server is during prime surfing hours, this is traditionally in the early evening. You ISP may turn in decent results in off peak hours, but buckle under the weight of its entire subscriber base. The internet is a chaotic place, the more factors you can take into account during your testing, the better. Once you’re pleased with the performance, you can move on to the next stage of your testing, security.
5.) Test the Security of Your New DNS Server
DNS servers have been in the news lately with terrible exploits that can snag even the most experienced power users. A new hack known as Cache Poisoning allows remote users to actually change the IP addresses of certain domains. For example, you could click on your address bar, type in www.bank.com, but instead of heading to your banks website, you are redirected to a phishing site. The URL in your address bar would look normal, but unless you know to check your SSL certificates, you might not be where you think you are!
Thanks again to the tireless efforts of Steve Gibson at GRC Corporation; a free and handy web utility now exists to test your DNS server’s resistance to Cache Poising. Simply scroll down to the bottom of the page, and click the large box near the bottom that says Initiate Standard DNS Spoofability Test. Having problems? Certain routers have been known to crash during the procedure. To identify if this is your problem, run the Crash Test.
If you’re happy with the speed boost, and if the spoofability test hands you back a passing grade, congratulations your off and running!
6.) Stats, Shortcuts, and Content Filtering Using OpenDNS
Any third party can provide DNS service, but what sets OpenDNS apart from the crowd is the services they offer. In addition to being one of the most secure DNS providers, if you take the time to register for a free account, you gain access to their premium features which include:
1.) Stats - If you enable this feature (disabled by default) you can get detailed statistics on your network activity. This can be extremely useful if you manage several machines in an office environment and you need to keep an eye out for slackers. It can also be helpful in a home environment when you want to make sure little Timmy is really reading Wikipedia, and not killing time on Facebook. The OpenDNS privacy statement also explicitly states that under no circumstances will they ever sell your statistical information to third parties.
2.) Shortcuts – Bind words to URL’s. Have you ever wished you could type “max” into your address and be instantly linked to your favorite PC website? That was a rhetorical question, of course you have! Simply think of a word, give OpenDNS the URL and make bookmarks a thing of the past.
3.) Filtering – By clicking the Settings tab in main menu, you will gain access to one of the most powerful features of OpenDNS, content filtering. From here you can customize exactly what users of your network will have access to, by either blocking specific websites, or simply protect yourself by blocking malicious websites. You can choose minimal which will protect you and the users of your network from phishing attacks, all the way up to high which will filter adult, illegal, or any other time wasting websites (except MaximumPC!). For those looking for protection somewhere in-between the two extremes, several other settings can be chosen, or you can create your own rule set by selecting Custom.
Conclusion
Changing your DNS server is a simple and proven way to improve your surfing speed without paying your greedy ISP an extra cent. OpenDNS is a great choice if you’re looking for rock solid performance and excellent security, but for those who care to take the extra time to benchmark and test, you’re sure to find something a bit faster if raw performance is your goal. With 11.9 million choices, how much time you invest in your search is entirely up to you.
Title Image Credit (4aad.com)