
Samba Distribution Programs
|
77
nmblookup
nmblookup [options] netbios_name
The nmblookup program is a client program that allows
command-line access to NetBIOS name service for resolving
NetBIOS computer names into IP addresses. The program works
by broadcasting its queries on the local subnet until a machine
with the specified name responds. You can think of it as a
Windows analog of nslookup or dig. This is useful for looking up
regular computer names, as well as special-purpose names, such
as __MSBROWSE__. If you wish to query for a particular type of
NetBIOS name, add the NetBIOS type to the end of the name,
using the format
netbios_name#<dd>.
Options
-A
Interprets netbios_name as an IP address and does a node
status query on it.
-B broadcast_address
Sends the query to the given broadcast address. The default is
to send the query to the broadcast address of the primary
network interface.
-d debug_level
Sets the debug (sometimes called logging) level. The level can
range from 0 to 10. Debug level 0 logs only the most impor-
tant messages. Level 1 is normal; levels 3 and above are
primarily used by developers for debugging the nmblookup
program itself and slow the program considerably.
-f
Prints the flags in the packet headers.
-h
Prints command-line usage information for the program.
-i scope
Sets a NetBIOS scope identifier. NetBIOS scope is a rarely
used precursor to workgroups.
-M
Searches for a local master ...