An application protocol that resolves domain and computer names to IP addresses
Skip to main content This browser is no longer supported. Show
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Domain Name System (DNS)
In this article
Domain Name System (DNS) is one of the industry-standard suite of protocols that comprise TCP/IP, and together the DNS Client and DNS Server provide computer name-to-IP address mapping name resolution services to computers and users. In Windows Server 2016, DNS is a server role that you can install by using Server Manager or Windows PowerShell commands. If you are installing a new Active Directory forest and domain, DNS is automatically installed with Active Directory as the Global Catalogue server for the forest and domain. Active Directory Domain Services (AD DS) uses DNS as its domain controller location mechanism. When any of the principal Active Directory operations is performed, such as authentication, updating, or searching, computers use DNS to locate Active Directory domain controllers. In addition, domain controllers use DNS to locate each other. The DNS Client service is included in all client and server versions of the Windows operating system, and is running by default upon operating system installation. When you configure a TCP/IP network connection with the IP address of a DNS server, the DNS Client queries the DNS server to discover domain controllers, and to resolve computer names to IP addresses. For example, when a network user with an Active Directory user account logs in to an Active Directory domain, the DNS Client service queries the DNS server to locate a domain controller for the Active Directory domain. When the DNS server responds to the query and provides the domain controller's IP address to the client, the client contacts the domain controller and the authentication process can begin. The Windows Server 2016 DNS Server and DNS Client services use the DNS protocol that is included in the TCP/IP protocol suite. DNS is part of the application layer of the TCP/IP reference model, as shown in the following illustration. FeedbackSubmit and view feedback for Additional resources
This article discusses the different methods of host name to IP address resolutions used by Microsoft Windows clients. The sequence of methods is different than the sequence used to resolve NetBIOS names to IP addresses. On a network using the TCP/IP protocol, it is necessary to convert names of resources to IP
addresses to connect to these resources. Microsoft Windows clients will follow a sequence of methods in attempting to resolve a name to an address, stopping the search when it successfully matches a name to an IP address. There are two main sequences used in almost all cases: NetBIOS resolution and Host name resolution. Clients connecting to resources on Microsoft servers, typically through Windows File Manager or Network Neighborhood, most often use NetBIOS name resolution. For
additional information, please see the following article in the Microsoft Knowledge Base: 119493 NetBIOS over TCP/IP Name Resolution and WINS Host name resolution resolves the names of TCP/IP resources that do not connect through the NetBIOS interface. The most common example of this is a Web browser such as Microsoft Internet Explorer. Other examples include Internet applications such as
Ping, FTP, and Telnet. Many modern database and mail applications that connect using Winsock, the Microsoft Windows implementation of TCP/IP sockets, also use host name resolution. Examples of these types of applications are Outlook and Exchange. When troubleshooting name resolution issues, it is important to narrow down whether the application is resolving a NetBIOS name or a host name. NOTE: In the context of this article, the term "client" does not necessarily refer to a
workstation. A Windows NT server will take the role of client when it requires access to resources that require host name resolution. Host name resolution generally uses the following sequence: The client checks to see if the name queried is its own. The client then searches a local Hosts file, a list of IP address and names stored on the local computer. NOTE: The Hosts file location depends on the operating system: Windows NT %Systemroot%\System32\Drivers\Etc A sample hosts file, Hosts.sam, is installed with the TCP/IP protocol showing the proper format. Domain Name System (DNS) servers are queried. If the name is still not resolved, NetBIOS name resolution sequence is used as a backup. This order can be changed by configuring the NetBIOS node type of the client. The Windows client will try each of these methods until it either successfully resolves the name or exhausts these methods. Windows NT, Windows 95, and Windows for Workgroups clients using Microsoft TCP/IP 3.11b follow this sequence. Lan Manager 2.2c or Microsoft Client 3.0 clients will not use NetBIOS name resolution as a backup. For additional information, please see the following articles in the Microsoft Knowledge Base: 169141 NetBIOS and hostname resolution for MS-Client and LM 2.2c The method for changing host name resolution order differs among operating systems and versions. These are documented in the Resource Kits for the specific operating systems, as well as in the Microsoft Knowledge Base. For additional information, please see the following articles in the Microsoft Knowledge Base: 171567 Windows NT 4.0 ServiceProvider Priority Values Not Applied
139270 How to Change Name Resolution Order on Windows 95 and Windows NT 119372 Setting the Name Resolution Search Order for TCP/IP-32 TroubleshootingProblem: Client is unable to resolve a host name. Troubleshooting steps: If a client cannot resolve a host name, then it is best to verify the Host name resolution sequence listed above that the client should be using. If the name does not exist in any of the resources that the client uses, then you must decide to which resource to add it. If the name exists in one of the resources, such as a DNS server or a Windows Internet Name Service (WINS) server and the client is not resolving the name correctly, focus your attention on troubleshooting that specific resource. Also, confirm that the client is trying to resolve a host name and not a NetBIOS name. Many applications have multiple methods that they can utilize to resolve names, this is especially true of mail and database applications. The application may be configured to connect to resources using NetBIOS. Depending on the client configuration the client may bypass host name resolution. From there it will be necessary to either change the connection type to TCP/IP sockets or to troubleshoot the problem as a NetBIOS issue. Problem: Client resolves a name very slowly, or fails to resolve a name and takes a long time to report a failure. Troubleshooting steps: Having DNS servers configured in a client's TCP/IP configuration, but the server is not available to the client usually causes this. Because the TCP/IP protocol assumes an unreliable network, a client will repeatedly attempt to connect to a DNS server before abandoning the attempted query. The client will then attempt to query a second DNS server if one is configured and take the same time to fail. Only then will the client step through to NetBIOS name resolution as described above. There are three ways to approach this issue.
For additional information on TCP/IP and name resolution, please see the following white paper available on the Microsoft anonymous ftp server: File Name: Tcpipimp2.doc Need more help?What term is used to describe software that is at the final stage of testing by vendors and users before the official release that is sold commercially?UAT is often the last phase of the software testing process and is performed before the tested software is released to its intended market. The goal of UAT is to ensure software can handle real-world tasks and perform up to development specifications.
What is the final stage of software testing by vendors before cutting an official release that is sold commercially and is usually tested by a very large audience of customers?The final stage of software testing by vendors before cutting an official release that is sold commercially. A release candidate is usually tested by a very large audience of customers. Some vendors may issue more than one release candidate if problems are discovered in the first RC.
What three tasks are typically completed during software installation?Common operations performed during software installations include:. Making sure that necessary system requirements are met.. Checking for existing versions of the software.. Creating or updating program files and folders.. Adding configuration data such as configuration files, Windows registry entries or environment variables.. Which are advantages of using a server operating system?Which are advantages of using a server operating system? Server operating systems are usually more secure and can come with additional services, such as security, already built in, so you don't have to set up these services separately.
|