Querying DNS Servers with the NSLOOKUP Command

It’s not unusual to run into DNS problems when attempting to connect to Internet-based servers using names like www.yahoo.com. If you find that your are experiencing problems connecting to resources by name, the NSLOOKUP command can be used to query DNS servers for answers. For example, without any switches, the NSLOOKUP command will display information about the DNS server your system is configured to use for lookups.

When followed by a domain name like www.2000trainers.com, the tool will display information about the DNS servers that store information for that domain, as shown below. NSLOOKUP supports a wide variety of subcommands that make it a powerful troubleshooting tool, so be sure to look up the associated topic in Help and Support Center for a more detailed explanation.

Author: Dan DiNicolo

Dan DiNicolo is a freelance author, consultant, trainer, and the managing editor of 2000Trainers.com. He is the author of the CCNA Study Guide found on this site, as well as many books including the PC Magazine titles Windows XP Security Solutions and Windows Vista Security Solutions. Click here to contact Dan.