We currently have a domain which has custom nameservers. Our host has their own nameservers.

I'd like to switch our domain to use our host's nameservers for a while. Our host tells me that their nameservers hold a replica of our dns zone, but I'd like to confirm this before I switch.

Is there a command line tool I can use that I can use to answer the question "does this nameserver know the dns zone of this domain?"

Hope that makes sense!

Thanks, Adam

2 Answers 2


Assuming you're using Linux/OS X, you can do dig @nameserver.to.test a www.mydomain.com on the command line, which should do what you want.


Not a command line tool, but if you visit http://www.gwebtools.com/ns-spy/ and add your nameserver after the trailing slash e.g.

and then select the domain you need to view, you'll be able to see that information.

  • Thanks. Hard to see, as there are 37 pages of hosts and no ordering! Useful tool though
    – adam
    Apr 5, 2012 at 15:50
  • @adam I agree it's tough to find your way! But it's very handy if you're on a non linux box or don't like the command line. Apr 5, 2012 at 15:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.