[Previous] [Next]
Lesson 3: Installing the DNS Service
Now that you have been introduced to DNS, the Windows 2000 DNS
Service, and name resolution, you are ready to learn how to install the
Microsoft DNS Server Service on a computer running Windows 2000
Server.
Preinstallation Configuration
Computers running Windows 2000 are configured as Dynamic Host
Configuration Protocol (DHCP) clients by default. Therefore, you must
configure TCP/IP with a static IP address before installing the DNS
Server Service. Configure the following options on the server on which
you are going to install the DNS Service:
- Assign a static IP address in the Internet Protocol (TCP/IP)
Properties dialog box.
- Configure the appropriate IP address of the DNS server and
DNS domain name. Using My Network Places, click the Advanced button in
the Internet Protocol (TCP/IP) Properties dialog box to configure the
advanced TCP/IP settings. On the DNS tab, type the DNS address and
domain name.
Installation Process
Install the DNS Service anytime after the Windows 2000 initial
setup, or you can choose to install the DNS Service during setup. In
addition to installing the DNS Service and enabling the service
automatically (without restarting the computer), the DNS installation
process does the following:
NOTE
Generally, you will not need to edit the DNS
database files. However, you might use them to troubleshoot DNS. For
additional information and sample files, see the
C:\Winnt\System32\Dns\Samples directory.
Table 3.3 DNS Database
| Filename |
Description |
| Domain.dns |
The zone database file that maps host names
to IP addresses for a zone. |
| z.y.w.x.in-addr.arpa |
The reverse lookup file that maps IP addresses
to host names. |
| Cache.dns |
The cache file that contains the required host
information for resolving names outside of authoritative domains. The default
file contains records for all of the root servers on the Internet. |
| Root |
The root file that controls how the DNS Service
starts. In Windows 2000, the root file is optional, because the root settings
are also stored in the registry. |
NOTE
The root file is not defined in an RFC and is
not needed for RFC compliance. The root file is a part of the Berkeley
Internet Name Daemon (BIND)—specific implementation of DNS. If you are migrating from a BIND DNS
server, copying the root file allows easy migration of your existing
configuration.
Practice: Installing and Configuring the DNS Service
In this practice you will configure TCP/IP as part of the
preinstallation configuration required to install the DNS Service, and
then you will install the DNS Service.
Exercise 1: Configuring TCP/IP for DNS
In this exercise, you will configure TCP/IP for DNS. This is part of
the configuration you do to prepare to install Microsoft DNS
Server.
To configure TCP/IP for DNS
- Log on as Administrator.
- Right-click My Network Places, and then click Properties.
The Network And Dial-Up Connections window appears.
- Right-click Local Area Connection, and then click
Properties.
The Local Area Connection Properties dialog box appears, displaying
the network adapter in use and the network components used in this
connection.
- Click Internet Protocol (TCP/IP), and then verify that the check
box to the left of the entry is selected.
- Click Properties.
The Internet Protocol (TCP/IP) Properties dialog box appears.
- Select Use The Following IP Address.
- Type 192.168.1.201 in the IP Address box.
- Press the Tab key to move the cursor to the Subnet Mask box,
ensure that 255.255.255.0 is the value and leave the Default Gateway
box empty.
If you are not using these suggested values, enter the IP address,
Subnet Mask, and Default Gateway that you are using.
IMPORTANT
Be careful when manually entering IP configuration settings, especially
numeric addresses. The most frequent cause of TCP/IP connection problems
is incorrectly entered IP address information.
- Ensure that the Use The Following DNS Server Addresses option is
selected.
- Type 192.168.1.201 in the Preferred DNS Server box.
NOTE
In this exercise you only have one computer, so
you are installing the DNS Service on your computer, making your
computer the DNS server. That is why you type in the IP address of your
computer for the Preferred DNS Server address. If you are on a network,
you may use the address of an available DNS server instead of your
computer's address. If you are using an existing DNS server, you do
not have to install the DNS Service on your computer, so you can skip
Exercise 2.
- Click Advanced.
The Advanced TCP/IP Settings dialog box appears.
- Click the DNS tab.
- In the DNS Suffix For This Connection box, type
domain.com (if you are on a network, check with your network
administrator to make sure it is OK to use this as your DNS domain
name), and then click OK.
- Click OK to close the Internet Protocol (TCP/IP) Properties
dialog box.
- Click OK to close the Local Area Connection Properties dialog
box.
- Close the Network And Dial-Up Connections window.
To configure the DNS domain name of your computer
- Right-click My Computer, and then click Properties.
The System Properties dialog box appears.
- On the Network Identification tab, click Properties.
The Identification Changes dialog box appears.
- Click More.
The DNS Suffix And NetBIOS Computer Name dialog box appears.
- In the Primary DNS Suffix Of This Computer box, type
domain.com, and then click OK.
- Click OK to close the Identification Changes dialog box.
A Network Identification warning box appears, stating that you must
reboot this computer for the changes to take effect.
- Click OK.
- Click OK to close the System Properties dialog box.
A System Settings Change box appears, asking if you want to restart
your computer.
- Click Yes to restart your computer.
Exercise 2: Installing the DNS Service
In this exercise, you will install the Microsoft DNS Server
Service.
To install the DNS Service
- Log on as Administrator.
- Open Control Panel.
- Double-click Add/Remove Programs.
The Add/Remove Programs window appears.
- Click Add/Remove Windows Components.
The Windows Components wizard appears.
- Click Networking Services, but do not select the check box to
the left of the component.
NOTE
If the DHCP Service or any other optional
networking component is installed on your computer, a check mark will appear in the box to the
left of Networking Services.
- Click Details.
- In the Subcomponents Of Networking Services list box, select the
check box to the left of Domain Name System (DNS).
- Click OK.
You are returned to the Windows Components page.
- Click Next.
The Configuring Components page appears, and a status indicator
begins tracking the configuration process. After a few moments, the
Insert Disk dialog box appears.
- Insert the CD-ROM you used to install Windows 2000 on your
computer, and then click OK.
NOTE
If the Files Needed dialog box appears, ensure
that the path to the source files is correct, and then click
OK.
Setup copies the required files to the hard disk.
- Click Finish to close the Windows Components wizard.
- Close the Add/Remove Programs window.
- Close Control Panel.
- Remove the CD-ROM.
Lesson Summary
There are some configuration changes you need to make before you
install the Microsoft DNS Server Service. As a part of this
preinstallation configuration, you should assign the computer on which
you are going to install the DNS Service a static IP address, and you
should configure the appropriate IP address of the DNS server and DNS
domain name.
You can install the DNS Service anytime after the Windows 2000
initial setup, or you can choose to install the DNS Service during
setup. In the practice portion of this lesson, you did the
preinstallation configuration and then you installed the DNS Service.
In addition to installing the DNS Service, the DNS installation process
installs DNS and adds a shortcut for it to the Administrative Tools
menu on the Start menu's Programs menu.
|