How can I perform an Nslookup request against a WINS server?

A. The Nslookup tool is great for performing name resolution against DNS servers, but there's no simple WINS equivalent that's part of the OS. Microsoft has released NBLookup, which allows name resolution requests against a WINS server. You can download the tool at http://support.microsoft.com/default.aspx?scid=kb;en-us;830578. The site also has detailed instructions for using the tool. Execute the file, accept the license agreement, and select a location to extract it to. Don't modify your "path" (which is a list of folders in which the OS will automatically look for files when you type a command) to include the NBLookup location or copy NBLookup to a directory already in the path of the OS (e.g., C:\windows).

You can use NBLookup the same way you use Nslookup--by passing a hostname, as the following example shows:

nblookup thanos

Recursion is on
Querying WINS Server: 192.168.1.10
NetBIOS Name: thanos
Suffix: 20

Name returned: THANOS
Record type: Unique
IP Address: 192.168.1.57

More complex options are possible. For example, you can check WINS for domain controller (DC) records for a domain by using the /x switch and passing the "1c" record type, as in the following command and output:

nblookup /x 1c savilltech

Recursion is on

Querying WINS Server: 192.168.1.10
NetBIOS Name: savilltech
Suffix: 1c

Name returned: SAVILLTECH
Record type: Group
IP Address: 192.168.1.10

As with Nslookup, if you execute NBLookup with no parameters, you're taken into the NBLookup shell, where you can execute a variety of commands.

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.