Name
nmblookup
Synopsis
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
>
.
Command synopsis
nmblookup [options] netbios_name
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 important 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 browser by looking up
netbios_name
<1d>
. Ifnetbios_name
is specified ...
Get Using Samba, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.