A tour of nslookup in Windows 2000 Professional
Takeaway: Learn how the oft-overlooked Windows 2000 Professional search tool nslookup can help you troubleshoot DNS problems. With nslookup you can query DNS servers for specific host records, list all records in a domain, and accomplish related tasks.
Windows 2000 Professional includes several useful—but often overlooked—features. Today we'll take a look at the nslookup tool.
Nslookup is a DNS lookup and troubleshooting command-line tool. With nslookup you can query DNS servers for specific host records, list all records in a domain, and accomplish related tasks. Nslookup can be a great resource for troubleshooting DNS problems and testing lookups with specific servers.
By default, nslookup uses the primary DNS server, which is defined in the local computer's TCP/IP settings. However, in many situations you will want to query against a different server. For example, a query against your primary server might be failing and you want to test against a different server without changing your TCP/IP settings. Or, perhaps you want to view all records of a specific type from a specifically named server.
To perform a lookup of a host against your primary DNS server, simply type nslookup to start the nslookup shell. Then, at the prompt, type the host name, such as www.techrepublic.com. Nslookup will respond with the address of the specified host.
You can also specify which DNS server to use by using the server argument server ns2.cnet.com. This will execute subsequent commands against the specified server.
Nslookup is a fairly complex tool. Fortunately, it does provide syntax and usage help. After you enter the nslookup shell, simply type HELP to view syntax and available arguments.
Miss a column?
Check out the Windows 2000 Professional archive, and catch up on the most recent editions of Jim Boyce's column.
Want more Win2K tips and tricks? Automatically sign up for our free Windows 2000 Professional newsletter, delivered each Tuesday!
Print/View all Posts Comments on this article
SponsoredWhite Papers, Webcasts, and Downloads
- Preparing for and Taking the PMP Certification Exam Global Knowledge
- 2008 IT Salary and Skills Report Global Knowledge
- ITIL Version 3.0 -- What It Means to You Global Knowledge
- The OSI Model: Understanding the Seven Layers of Computer Networks Global Knowledge
- Ethical Hacking and Risk Assessments Global Knowledge
Article Categories
- Security
- Security Solutions, IT Locksmith
- Networking and Communications
- E-mail Administration NetNote, Cisco Routers and Switches
- CIO and IT Management
- Project Management, CIO Issues, Strategies that Scale
- Desktops, Laptops & OS
- Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
- Data Management
- Oracle, SQL Server
- Servers
- Windows NT, Linux NetNote, Windows Server 2003
- Career Development
- Geek Trivia
- Software/Web Development
- Web Development Zone, Visual Basic, .NET


