nslookup equivalent for WINS

Andrew Tridgell tridge at samba.anu.edu.au
Mon Sep 28 03:10:19 GMT 1998


> Is there an nslookup equivalent for WINS.  I want to be able to query WINS
> servers - preferably from a command line.

nmblookup -U server -R 'query'

where query is a netbios name with an optional #type after it, for
example:

bash$ nmblookup -U samba -R IRIX#1B
Sending queries to 150.203.164.44
150.203.164.44 IRIX<1b>

that finds the domain master browser (1B name) for the IRIX workgroup.

-U means unicast query to specified address or host (needed for WINS)
-R means recursive lookup (needed to direct the query to wins portion
   of server rather than the bcast portion of the server)



More information about the samba-ntdom mailing list