Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Someone suggested the command nmblookup. But when I ran this command, it issued the following error.

$ nmblookup -U -R 'name'
querying name on
name_query failed to find name name

Which configure file or command line options does nmblookup use relating to a query? How does it know the WINS server address?


share|improve this question
You have tried to replace the name with the hostname you're actually interested in, haven't you? (See this example‌​) – sr_ May 7 '12 at 12:34

Your command works fine with my WINS server, for any name that actually is in WINS. I get the failed message that you do, when the name is not in WINS:

% nmblookup -U -R 'winchester'
querying winchester on winchester<00>

% nmblookup -U -R 'winchesxx'
querying winchesxx on
name_query failed to find name winchesxx

See the man page for nmblookup ("man nmblookup") to review the options available. You provide the address of the WINS server with that -U option ("-U").

share|improve this answer

According to the manpage, the -U option specifies the WINS server to query, and the name to lookup is the first positional argument.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.