There are several methods available for configuring TCP/IP name resolution on Windows XP Professional clients. The method covered in this lesson uses DNS to provide name resolution. A second method is to use a HOSTS file. For networks without access to a DNS name server, creating a HOSTS file, which is a manually maintained local file, can provide host-to-IP address and NetBIOS-to-IP name resolution for applications and services. HOSTS files can also be used in environments in which name servers are available, but not all hosts are registered, perhaps because some hosts are only available to a limited number of clients.
If there is a computer on your network that is running Windows 2000 Server and has the DNS Service installed and configured on it, you should use DNS for name resolution. This lesson shows you how to configure your computer as a DNS client.
Because DNS is a distributed database that is used in TCP/IP networks to translate computer names to IP addresses, you must first ensure that TCP/IP is installed on a client running Windows XP Professional. Internet Protocol (TCP/IP) is installed by default during Windows XP Professional installation. Once you have confirmed that TCP/IP is installed on your client, you are ready to configure your computer as a DNS client.
To configure your computer as a DNS client, you would do the following:
Windows XP Professional displays the Local Area Connection Properties dialog box.
Windows XP Professional displays the Internet Protocol (TCP/IP) Properties dialog box (see Figure 5.6).
Figure 5.6 Internet Protocol (TCP/IP) Properties dialog box
You must select one of the two following options:
If you click Advanced and then click the DNS tab, you can set additional configurations for DNS (see Figure 5.7).
Figure 5.7 Advanced TCP/IP Settings dialog box
In the Advanced TCP/IP Settings dialog box, for the DNS Server Addresses, In Order Of Use box, you can do one of the following:
In the Advanced TCP/IP Settings dialog box, you can also configure how suffixes are added to queries.
By default, the Append Primary And Connection Specific DNS Suffixes option is selected. This option causes the DNS resolver to append the client name to the primary domain name, as well as the domain name defined in the DNS Domain Name field of each network connection. The resolver then queries for that FQDN. If this query fails and you have specified a connection-specific DNS suffix in the DNS Suffix For This Connection text box, it causes the DNS resolver to append the client name to the name you specified there. If a DHCP server configures this connection and you do not specify a DNS suffix, a DNS suffix for the connection is assigned by an appropriately configured DHCP server. If you specify a DNS suffix, it is used instead of one assigned by a DHCP server.
The Append Parent Suffixes Of The Primary DNS Suffix check box is also selected by default. If it is selected, the DNS resolver strips off the leftmost portion of the primary DNS suffix and attempts the resulting domain name. If this fails, it continues stripping off the leftmost label and attempting the resulting domain name until only two labels remain.
By default, the Append Primary And Connection Specific DNS Suffixes option is selected, so the Append These DNS Suffixes (In Order) option is not selected; only one of these two options can be selected at one time. This option allows you to specify a list of domains to try. The DNS resolver adds each one of these suffixes, one at a time and in the order you specified. Queries for unqualified names that are used on this computer are limited to the domains that you listed in Append These DNS Suffixes (In Order).
Selecting the Register This Connection's Addresses In DNS check box causes the computer to attempt to dynamically register the IP addresses (through DNS) of this computer with its full computer name. To view the computer name for this computer click Start, click My Computer, click View System Information, and click the Computer Name tab.
Selecting the Use This Connection's DNS Suffix In DNS Registration check box causes the computer to use DNS dynamic updates to register the IP addresses and the connection-specific domain name of the connection. The connection-specific name of this DNS connection is the computer name, which is the first label of the full computer name specified in the Computer Name tab located in View System Information, and the DNS suffix of this connection. If the Register This Connection's Addresses In DNS check box is selected, this registration is in addition to the DNS registration of the full computer name.
After completing this practice, you will be able to configure computers running Windows XP Professional as DNS clients.
If you are on a network, ask your network administrator the IP address of a DNS server you can use and type that address in the Preferred DNS Server text box. If you are not on a network or if you do not have a DNS server on your network, you can type 192.168.1.203 as the Preferred DNS Server IP address.
If you are on a network, ask your network administrator for the IP address of a second DNS server you can use and type that address in the Alternate DNS Server text box. If you are not on a network or if you do not have a DNS server on your network, you can type 192.168.1.205 as the Alternate DNS Server IP address.
A client attempts to send its query requests to the preferred name server. If that name server is not responding, the client sends the query request to the alternate name server.
If you are going to configure several computers running Windows XP Professional as DNS clients, configure some of the clients to use the alternate name server as the preferred name server. This reduces the load on the primary server.
If you are on a network, ask your network administrator for the IP address of a third DNS server you can use and type that address in the TCP/IP DNS Server text box. If you are not on a network or if you do not have a DNS server on your network, you can type 192.168.1.207 as an additional DNS Server IP address.
There are now three addresses in the DNS Server Addresses, In Order Of Use list box.
Here are some questions to help you determine whether you have learned enough to move on to the next lesson. If you have difficulty answering these questions, review the material in this lesson before beginning the next lesson. The answers are in Appendix A, "Questions and Answers."