Tip: Verify DNS & Route to Hostname


I came across this handy little tip last week when helping a customer who was experiencing propagation issues. By “came across” I mean our awesome system administrator, Robert, was kind enough to share it with me.

I’m sure some of us have experienced this:

You update your nameservers to point your new domain to your host, but then something’s fishy. Your site is not resolving. Or, it’s resolving for others, but not for you. What it comes down to, is your site is not working right. You’re frustrated and you don’t know whether it’s a problem with your registrar, your host, or your internet service provider (ISP).

If you find yourself in this situation, following these steps will provide enough information to help reveal any possible routing and propagation issues:

Windows

Start -> Run -> Cmd

Then, one at a time, enter these commands and hit Return:

  • nslookup yourdomain.com > c:\netcheck.txt
  • nslookup yourdomain.com 4.2.2.2 >> c:\netcheck.txt
  • pathping yourdomain.com -q 50 -w 500 -4 >> c:\netcheck.txt

This then creates a netcheck.txt file in your C: drive.

Mac

Applications -> Utilities -> Terminal

Then, one at a time, enter these commands and hit Return:

  • cd ~/Desktop/
  • dig yourdomain.com +trace > netcheck.txt
  • dig yourdomain.com @4.2.2.2 >> netcheck.txt
  • traceroute yourdomain.com >> netcheck.txt

This then creates a netcheck.txt file on your Desktop.

Now when you contact the support department of your registrar, host, or ISP you will have an incredibly useful bit of information to send them with the netcheck.txt file. If you’re not sure which support to start with, it never hurts to start with your registrar — they can always point you in the right direction.

Either way, providing the netcheck.txt file will show where the routing is breaking for your hostname and will help support determine what and where the problem is a lot quicker. And quick turnarounds make everyone involved a happy camper. :)




Get the latest discounts delivered straight to your inbox.