How to Know When Your DNS Servers Are Failing [DNS]

11:18 AM

 
 

Sent to you by !~~K2~~! via Google Reader:

 
 

via Lifehacker by Gina Trapani on 12/7/09

Now that both Google Public DNS and OpenDNS offer alternative, public DNS services anyone can use instead of their service provider's DNS servers, the question is: How do you know if your DNS service isn't working properly and if you should switch?

Smarterware reader Nicholas has the answer. He says:

The easiest way to determine if your chosen DNS servers are down, you can use nslookup or dig command line tools. Open a command line prompt (Select "Start > Run" and type "cmd" on a Windows machine, "Applications > Utilities > Terminal" on the Mac) and type:
dig google.com
or
nslookup google.com

If an IP address comes back and the web page appears to be loading properly in your browser, your DNS servers are working fine. If no address comes back, or an unexpected web page appears despite a successful dig, there is a problem. "dig" is the newer and recommended tool, but both should work fine for basic troubleshooting purposes.

A few months back I knew my DNS servers were screwy when I couldn't load certain web sites, but DownForEveryoneOrJustMe.com said those sites were up. At that point I switched my DNS service to OpenDNS and that solved the problem. Here's more on how to troubleshoot a flaky internet connection. Thanks, Nicholas!

Update: Reader danger the pirate points out that Windows users don't get the dig command by default, but they can follow these instructions to download and install it. Smarterware is Lifehacker editor emeritus Gina Trapani's new home away from 'hacker. To get all of the latest from Smarterware, be sure to subscribe to the Smarterware RSS feed. For more, check out Gina's weekly Smarterware feature here on Lifehacker.


 
 

Things you can do from here:

 
 

You Might Also Like

0 comments

Popular Posts

Like us on Facebook

Flickr Images