<refsynopsisdiv>
<cmdsynopsis>
<command>nmblookup</command>
- <arg choice="opt">-M</arg>
- <arg choice="opt">-R</arg>
- <arg choice="opt">-S</arg>
- <arg choice="opt">-r</arg>
- <arg choice="opt">-A</arg>
- <arg choice="opt">-h</arg>
- <arg choice="opt">-B <broadcast address></arg>
- <arg choice="opt">-U <unicast address></arg>
+ <arg choice="opt">-M|--master-browser</arg>
+ <arg choice="opt">-R|--recursion</arg>
+ <arg choice="opt">-S|--status</arg>
+ <arg choice="opt">-r|--root-port</arg>
+ <arg choice="opt">-A|--lookup-by-ip</arg>
+ <arg choice="opt">-B|--broadcast <broadcast address></arg>
+ <arg choice="opt">-U|--unicast <unicast address></arg>
<arg choice="opt">-d <debug level></arg>
<arg choice="opt">-s <smb config file></arg>
<arg choice="opt">-i <NetBIOS scope></arg>
- <arg choice="opt">-T</arg>
- <arg choice="opt">-f</arg>
+ <arg choice="opt">-T|--translate</arg>
+ <arg choice="opt">-f|--flags</arg>
<arg choice="req">name</arg>
</cmdsynopsis>
</refsynopsisdiv>
<variablelist>
<varlistentry>
- <term>-M</term>
- <listitem><para>Searches for a master browser by looking
+ <term>-M|--master-browser</term>
+ <listitem><para>Searches for a master browser by looking
up the NetBIOS <replaceable>name</replaceable> with a
type of <constant>0x1d</constant>. If <replaceable>
name</replaceable> is "-" then it does a lookup on the special name
</varlistentry>
<varlistentry>
- <term>-R</term>
+ <term>-R|--recursion</term>
<listitem><para>Set the recursion desired bit in the packet
to do a recursive lookup. This is used when sending a name
query to a machine running a WINS server and the user wishes
</varlistentry>
<varlistentry>
- <term>-S</term>
+ <term>-S|--status</term>
<listitem><para>Once the name query has returned an IP
address then do a node status query as well. A node status
query returns the NetBIOS names registered by a host.
<varlistentry>
- <term>-r</term>
+ <term>-r|--root-port</term>
<listitem><para>Try and bind to UDP port 137 to send and receive UDP
datagrams. The reason for this option is a bug in Windows 95
where it ignores the source port of the requesting packet
<varlistentry>
- <term>-A</term>
+ <term>-A|--lookup-by-ip</term>
<listitem><para>Interpret <replaceable>name</replaceable> as
an IP Address and do a node status query on this address.</para>
</listitem>
&popt.common.connection;
- &stdarg.help;
+ &popt.autohelp;
<varlistentry>
- <term>-B <broadcast address></term>
+ <term>-B|--broadcast <broadcast address></term>
<listitem><para>Send the query to the given broadcast address. Without
this option the default behavior of nmblookup is to send the
query to the broadcast address of the network interfaces as
<varlistentry>
- <term>-U <unicast address></term>
+ <term>-U|--unicast <unicast address></term>
<listitem><para>Do a unicast query to the specified address or
host <replaceable>unicast address</replaceable>. This option
(along with the <parameter>-R</parameter> option) is needed to
&popt.common.samba;
<varlistentry>
- <term>-T</term>
+ <term>-T|--translate</term>
<listitem><para>This causes any IP addresses found in the
lookup to be looked up via a reverse DNS lookup into a
DNS name, and printed out before each</para>
</varlistentry>
<varlistentry>
- <term>-f</term>
+ <term>-f|--flags</term>
<listitem><para>
Show which flags apply to the name that has been looked up. Possible
answers are zero or more of: Response, Authoritative,