How can you tell if a node is a WINS server ...

Christopher R. Hertel crh at
Wed May 8 14:42:02 GMT 2002

Look at the RA bit in the returned packet.  A WINS server should set
this bit.  A non-WINS should leave it clear.

I am pretty sure this works with Windows boxes.  If so, we should be
sure we do this correctly in Samba.  :)

See my notes in section of

Chris -)-----

Richard Sharpe wrote:
> Hi,
> I am looking for a way from within a script to tell if a node is a
> WINS server.
> Doing something like 'nmblookup -A <ip.address>' is ambiguous, and
> even asking the node to translate its own name is ambiguous.
> It seems like you need to ask it to translate a name that a non-WINS
> server would not normally have?
> Regards
> -----
> Richard Sharpe, rsharpe at, rsharpe at,
> sharpe at

Christopher R. Hertel -)-----                   University of Minnesota
crh at              Networking and Telecommunications Services

More information about the samba-technical mailing list