NetBIOS Name Resolution Using DNS and the HOSTS File

Last reviewed: May 1, 1997
Article ID: Q142309
The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.5 and 3.51
  • Microsoft Windows NT Server versions 3.5 and 3.51
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Workstation version 4.0

Windows NT allows you to resolve NetBIOS names using the HOSTS file or Domain Name System (DNS) server. To do this, you must select the Enable DNS for Windows Name Resolution check box in the Advanced Microsoft TCP/IP Configuration dialog box of Control Panel Network.

In addition, Windows NT uses Windows Internet Name Service (WINS), b-node broadcasts and the LMHOSTS file for NetBIOS name resolution. If all of these name resolution methods are used, an h-node host computer implements them in the following order:

  1. NetBIOS name cache

  2. WINS server

  3. B-node broadcast

  4. LMHOSTS file

  5. HOSTS file

  6. DNS server

NOTE: The HOSTS file is used by some TCP/IP utilities, such as PING and FTP, even though the Enable DNS for Windows Name Resolution check box is cleared.


Additional query words: prodnt
Keywords : kbnetwork NTSrvWkst nttcp
Version : 3.5 3.51 4.0
Platform : WinNT


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 1, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.