Which of the following options can be used to resolve netbios names to ip addresses?

This summary discusses the various methods of name resolution used by Microsoft Windows clients. On a network using TCP/IP, it is necessary to resolve NetBIOS and host names to IP addresses in order to connect to network resources.

Microsoft Windows clients will follow a certain sequence to resolve a name to an address and completing process when it successfully resolves that name to an IP address.

There are two main types of name resolution used in almost every situation: NetBIOS resolution and host name resolution. Clients (mainly legacy) connecting to resources on Microsoft servers, typically through Windows File Manager or Network Neighborhood, use NetBIOS name resolution.

Host name resolution resolves the names of TCP/IP resources that do not connect through the NetBIOS interface. There are many examples of applications that rely on host name resolution such as web browsers, Ping, FTP, and Telnet.

Legacy clients (pre-Windows 2000) will use the NetBIOS name resolution process before attempting to use host name resolution processes. Windows 2000 and later clients will mainly perform host name resolution prior to attempting NetBIOS name resolution.

Host name resolution uses the following steps:

  1. Verifies against its own host name (HOSTNAME)
  2. Looks at the client’s local DNS cache (IPCONFIG /displayDNS)
  3. Searches the HOSTS file (%systemroot%\system32\drivers\etc\)
  4. Query a DNS Server (as per client TCP/IP configuration)
  5. Query WINS Server (for H-Node clients: as per client TCP/IP configuration)
  6. Sends out a Broadcast on the local subnet
  7. Searches the LMHOSTS file (%systemroot%\system32\drivers\etc\)

NetBIOS name resolution uses the following steps:

  1. Verifies if it is the local machine by its registered name NetBIOS name.
  2. Looks at its NetBIOS name cache (NBTSTAT -n)
  3. Query WINS Server (for H-Node clients: as per client TCP/IP configuration)
  4. Sends out a Broadcast on the local subnet
  5. Searches the LMHOSTS file (%systemroot%\system32\drivers\etc\)
  6. Searches the HOSTS file (%systemroot%\system32\drivers\etc\)
  7. Query a DNS Server (as per client TCP/IP configuration)

When resolving NetBIOS and host name the client will skip the steps listed above for which it is not configured. For example, if there is no DNS or WINS server configured in the TCP/IP settings, those steps will be skipped and the client will continue down the list of options.

Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

7.1.4 Windows Name Resolution

  • Article
  • 06/14/2022
  • 2 minutes to read

In this article

Name resolution is the function of resolving a name to one or more IP addresses. Name resolution in Windows can resolve DNS fully qualified domain names (FQDNs) and single label names. Single label names can be resolved as both a DNS name and a NetBIOS name. For a single label name to be resolved by DNS it has to be converted to an FQDN by appending suffixes to the single label (for instance, "example" is converted to "example.contoso.com").

Windows supports the following name resolution processes:

DNS: DNS, defined in [RFC1034] and [RFC1035], is a distributed system of name resolvers. DNS names are FQDNs such as www.contoso.com. The result of a DNS query can return a list of IPv4 and IPv6 addresses.

NetBIOS name resolution: NetBIOS name resolution [RFC1001] [RFC1002] resolves a NetBIOS name to one or more IPv4 address. A NetBIOS name is a 16-byte string ( [MS-NBTE] section 2.2). An example of a process that uses a NetBIOS name is the File and Printer Sharing for Microsoft Networks service on a computer running Windows. When a Windows computer starts up, this File and Printer service registers a unique NetBIOS name from the name of the computer. The exact NetBIOS name used by the service is the Windows computer name padded out to 15 bytes plus a 16th byte of 0x20 representing that the name is related to the File and Printer service.

A common NetBIOS name resolution is from the name of a Windows domain to a list of IP addresses for domain controllers (DCs). The NetBIOS name for a Windows domain is formed by padding the domain name to 15 bytes with blanks, and appending the byte 0x01 representing the DC service. Windows Internet Name Service (WINS) is the Microsoft implementation of NetBIOS Name Server (NBNS) , a name server for NetBIOS names. Refer to the Windows Internet Naming Service (WINS) Replication and Autodiscovery Protocol, specified in [MS-WINSRA], for details about WINS replication and Autodiscovery.

Link-Local Multicast Name Resolution (LLMNR): Link-Local Multicast Name Resolution (LLMNR), specified in [RFC4795], enables name resolution in scenarios in which conventional DNS name resolution is not possible on the local link. The LLMNR Profile, defined in [MS-LLMNRP] differs from this standard in that [RFC4795] requires TCP ([RFC793]) and EDNSO ([RFC2671]) support, which are both optional in the Windows profile specified in [MS-LLMNRP].

Peer Name Resolution: The Peer Name Resolution Protocol (PNRP), defined in [MS-PNRP], resolves peer names to a set of information, such as IPv6 addresses. PNRP offers significant advantages over DNS, mainly by being distributive, which means that it is essentially serverless (except for early boot strapping), can scale to potentially millions of names, and is fault tolerant and bottleneck-free. Because it includes secure name publication services, changes to name records can be performed from any system. DNS generally requires contacting the DNS server administrator to perform updates. PNRP name updates also occur in real time, making it appropriate for highly mobile devices, whereas DNS caches results. Finally, PNRP allows for naming more than just computers and services by allowing extended information to be published with the name records.

Server Network Information Discovery: The Server Network Information Discovery Protocol, specified in [MS-SNID], defines a pair of request and response messages by which a protocol client can locate protocol servers within the broadcast/multicast scope and get network information (such as NetBIOS name, Internet Protocol version 4 (IPv4), and Internet Protocol version 6 (IPv6) addresses) of the servers.

Additional resources

Additional resources

In this article

What can be used to resolve NetBIOS names to IP addresses?

The three standard ways of resolving NetBIOS names to IP addresses are through a local broadcast, using the local cache, or by using a NetBIOS name server. With a local broadcast, a broadcast is sent out on the network requesting the IP address of a specific host.

What type of server can be installed on a network to resolve NetBIOS names?

Windows Internet Name Service (WINS) is the Microsoft implementation of NetBIOS Name Server (NBNS) , a name server for NetBIOS names.

What is NetBIOS name resolution?

On TCP/IP internetworks, NetBIOS Name Resolution is the process by which the NetBIOS name of a computer is resolved to its IP address. NetBIOS name resolution enables NetBIOS hosts to communicate with each other using TCP/IP.

Which is a method to resolve names to addresses?

The domain name system (DNS) is a naming database in which internet domain names are located and translated into Internet Protocol (IP) addresses.

Toplist

Neuester Beitrag

Stichworte