| Connecting to NetBIOS Resources Using DNS Names or IP AddressesID: Q161431 
 | 
Windows NT 4.0 lets you use a Domain Name System (DNS) to resolve a
computername to an IP address for Windows networking functions, or to
connect directly to an IP address without knowing the NetBIOS name. Some
examples are:
   net use * \\ftp.microsoft.com\data
   net view \\10.57.8.191
When using this new functionality, it is still necessary for the calling
computer to know one of the NetBIOS names that is registered on the remote
computer. There are currently three ways of finding a valid NetBIOS name
to connect to on the target computer:
   NBT: NS: Query req. for *<00...(15)> NetBIOS sessions are established between two NetBIOS names. A session setup involves the following phases:
   NetBIOS name query request -->
                              <--  NetBIOS name query response 
   SYN  -->
        <--  SYN-ACK
   ACK  --> 
   NetBIOS session setup request -->
                                 <--  NetBIOS session setup response ARTICLE-ID: Q137565The NetBIOS adapter status response contains the name table for the computer queried. It is parsed for the name registered by the server service (shown below), and then a TCP connection and NetBIOS session can be established.
TITLE : System Error 53 When Connecting to a FQDN
NBNS can (optionally) ensure that the node is actually down by sending a NODE STATUS REQUEST. If such a request is sent, and no response is received, it can be assumed that the node is down.In order to establish a connection from a Windows NT 4.0 computer to another computer using DNS name resolution, the remote computer must either support NetBIOS sessions to the special case *SMBSERVER name, or respond properly to an adapter status request. You can use the Windows NT nbtstat -A <ipaddr> command to test this. A sample is shown here:
       NetBIOS Remote Machine Name Table
   Name               Type         Status
-------------------------------------------
<ServerName>   <1F>  UNIQUE      Registered
<ServerName>   <00>  UNIQUE      Registered
<ServerName>   <00>  GROUP       Registered
<ServerName>   <03>  UNIQUE      Registered
<ServerName>   <20>  UNIQUE      Registered   <--- The server service name
<ServerName>   <1E>  GROUP       Registered
MAC Address = 00-80-5F-50-E3-CC 
Keywords          : kbnetwork nttcp NTSrvWkst 
Version           : WinNT:4.0
Platform          : winnt 
Issue type        : Last Reviewed: February 2, 1999