Skip navigation

When I run the NBTSTAT -c command, why do some lines have a period (.) in the name column?

A. An incorrect entry in the LMHOSTS file causes this problem. Sample output indicating a problem appears below:

C:\&gt;nbtstat -c<br><br>
Local Area Connection:<br>
Node IpAddress: \[200.200.200.1\] Scope Id: \[\]<br><br>
NetBIOS Remote Cache Name Table<br><br>
Name             Type   Host Address  Life \[sec\]<br>
------------------------------------------------------------<br>
savilltech2  UNIQUE 200.200.200.2 -1<br>
SAVILLTECH . UNIQUE 200.200.200.1 -1<br>
SAVILLTECH . UNIQUE 200.200.200.1 -1<br>
SAVILLTECH . UNIQUE 200.200.200.1 -1<br><br>

The LMHOSTS entry must have the following format:

\[IP address\]\[tab\]"\[15-character domain name\]\0x1b" \[tab\] #PRE<br><br>
For example,

200.200.200.1 "savilltech&#160;&#160;&#160;&#160; \0x1b" #PRE<br><br>
Notice the five spaces after savilltech to make the domain name 15 characters. If the domain name isn't the full 15 characters (padded with space characters), the period appears in the Name column. To correct the problem, edit your LMHOSTS file (in the %systemroot%\system32\drivers\etc folder) and ensure that all domains defined in this format are padded with spaces to make them 15 characters.
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish