Microsoft DNS is an RFC-compliant DNS server. As a result, it creates and uses standard DNS zone files and supports all standard resource record types. It is interoperable with other DNS servers and includes the DNS diagnostic utility NSLOOKUP. Microsoft DNS is tightly integrated with Windows Internet Name Service (WINS) and is administered through the graphical administration utility called DNS Manager. In this lesson, you install the DNS service on Windows 2000.
After this lesson, you will be able to
Estimated lesson time: 45 minutes
Before installing the Microsoft Windows 2000 DNS Server service, it is important that the Windows 2000 server's TCP/IP protocol be configured correctly. The DNS Server service obtains the default settings for the host name and domain name through the Microsoft TCP/IP Properties dialog box. The DNS Server service creates default SOA, host, and NS records based on the specified domain name and host name. If the host name and domain name are not specified, only the SOA record is created.
In this practice, you install the Microsoft DNS Server service. You will configure DNS in a later lesson.
NOTE
Before you continue with the lesson, run the Ch10A.exe demonstration file located in the Media folder on the Supplemental Course Materials CD-ROM that accompanies this book. The file provides an overview of installing the DNS Server service.
NOTE
Complete this procedure from the computer you designate as the DNS server.
Before you install DNS, you need to verify that the client computer has the appropriate settings and specify what DNS server to use.
The Network And Dial-Up Connections dialog box appears.
The Connection Properties dialog box appears.
The Internet Protocol (TCP/IP) Properties dialog box appears.
You can also add the IP address of an alternate DNS server in the Alternate DNS Server field.
Once the client is properly configured, you can install DNS Server service.
The Windows Components wizard appears.
The Networking Services dialog box appears.
Figure 10.2 Domain Name System (DNS) check box in Networking Services
Windows 2000 installs DNS.
NSLOOKUP is a useful tool for troubleshooting DNS problems such as host name resolution. When you start NSLOOKUP, it shows the host name and IP address of the DNS server that is configured for the local system, and then displays a command prompt for further queries. If you type a question mark (?), NSLOOKUP shows all available commands. You can exit the program by typing exit. To look up a host's IP address using DNS, type the host name and press Enter. NSLOOKUP defaults to using the DNS server configured for the computer on which it is running, but you can focus it on a different DNS server by typing server <name> (where <name> is the host name of the server you want to use for future lookups). Once another server is specified, anything entered after that point is interpreted as a host name.
NSLOOKUP has two modes: Interactive and Noninteractive. If a single piece of data is needed, use Noninteractive or Command-line mode. If more than one piece of data is needed, Interactive mode can be used.
NSLOOKUP.EXE is a command-line administrative tool for testing and troubleshooting DNS servers. The following syntax is used to run the NSLOOKUP utility:
nslookup [-option ...] [computer-to-find | - [server]]
Syntax | Description |
---|---|
-option ... | Specifies one or more NSLOOKUP commands. For a list of commands, use the help option inside NSLOOKUP. |
computer-to-find | If computer-to-find is an IP address and the query type is host or PTR, the name of the computer is returned. If computer-to-find is a name and does not have a trailing period, the default DNS domain name is appended to the name. To look up a computer outside the current DNS domain, append a period to the name. If a hyphen (-) is typed instead of computer-to-find, the command prompt changes to NSLOOKUP Interactive mode. |
server | Use this server as the DNS name server. If the server is omitted, the currently configured default DNS server is used. |
Follow these steps to use NSLOOKUP in Command-line mode:
As illustrated in Figure 10.3, use the Layout property page to do this. When prompted, you should apply this change to all future instances of the command-prompt window; this will be needed in later lessons.
Figure 10.3 Command Prompt Properties dialog box
nslookup hostx
where hostx is a host in your domain.
Follow these steps to use NSLOOKUP in Interactive mode:
The > prompt appears.
This command lists all of the current values of the NSLOOKUP options.
Set ti=1 Set ret=7
Figure 10.4 Setting the timeout and retry values in NSLOOKUP
Microsoft DNS is interoperable with other DNS servers. Before installing the DNS Server service, you should make sure that the Windows 2000 server's TCP/IP protocol is configured correctly.
The NSLOOKUP utility is the primary diagnostic tool for DNS. It allows you to display resource records on DNS servers.