Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a vendor who is supposed to setup a domain name in their DNS system. What can I use ti hit it and see what it responds to as the IP for is? I essentially want to make sure they have configured the A record correctly.

Windows, Linux, any tool / command line will do. Thanks!

share|improve this question
up vote 14 down vote accepted

nslookup is quirky and often gives misleading answers. Its authors (ISC) recommend not using it.

The standard tool is therefore dig:

% dig A

That will check via your configured recursive resolvers.

If you want to check the contents of a specific server, i.e. the name servers for your domain, add @server_name or @server_ip to the parameters:

% dig @server A
share|improve this answer
Thanks Alnitak this worked wonderfully and yes! So much better than NSlookup. This will give me a lot more confidence when switching over to new DNS servers when their IT people say 'yes we have added the DNS entries' - I've had it in the past where they mess them up and when we switch the DNS at the domain to make a client's site live it breaks. Obviously it makes us look bad, so this way I can check their work! – Ryan Doom Dec 14 '11 at 1:47

On Windows you can use nslookup.

Run nslookup in interactive mode, set the server you want to use to answer your query, set the nosearch option to eliminate queries with your DNS suffix(es) appended to them, and set the debug option or the debug2 option for more detailed results in the answers returned.

share|improve this answer

You want nslookup

This tool will let you set the vendor's DNS server (assuming you can reach it) as the resolver and tell you what that server returns for a given name lookup.

share|improve this answer
No, xe really doesn't want nslookup. – JdeBP Jan 20 '12 at 15:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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