Q: How do I use the NSLOOKUP tool provided with Windows?
A:

Some versions of windows come with an NSLOOKUP tool that you can use via the command prompt. To use this tool, the first thing you should do is open a command prompt. Just go to Start, select Run, type "command", and press OK. From the command prompt, you should type "NSLOOKUP". This will open the built-in NSLOOKUP program.

The default server will be your local DNS server. To change to a different server, such as the root server, you need to type "server dns.server.name" (where dns.server.name is the name of the DNS server you wish to use). The current list of root servers is:
ns1.UCVHost.net
ns2.UCVHost.net


The best way to run an NSLOOKUP is to start with the root servers and follow the path to the final authorative name server.

To change the type of query, such as MX, you need to type "set type=X" (where X is the type). Some of the available types are MX, A, CNAME, and ALL. The type "ALL" or "ANY" will show all records for the domain on that name server.

Typing "?" will generate a list of the other available NSLOOKUP commands.

When you are done using NSLOOKUP, type "exit" to return to the command prompt. You can close the command prompt by typing "exit" again.

Article ID: 819
Keywords: nslookup command prompt