Installing and Configuring DNS

Installing the DNS Server Service

There are a number of methods which you can use to install the DNS server service on your Windows 2000 or Windows Server 2003 computer:

Before installing the DNS server service, it is recommended that you perform the following administrative tasks:

How to configure a static domain name for the computer

  1. Click Start, Control Panel, and then click Network Connections.
  2. Select Local Area Connection and then click Properties.
  3. In the Local Area Connections dialog box, select Internet Protocol (TCP/IP), and then click Properties.
  4. When the Internet Protocol (TCP/IP) dialog box opens, click Advanced.
  5. The Advanced TCP/IP Settings dialog box opens.
  6. Click the DNS tab.
  7. Ensure that this server's address, for which DNS is to be installed, is displayed first in the DNS Server Addresses: In Order Of Use: list.
  8. In the DNS Suffix For This Connection: box, enter the primary DNS domain name.
  9. Click OK.

How to install the DNS server service on a stand-alone computer

  1. Open Control Panel
  2. Double-click Add/Remove Programs, and then click Add/Remove Windows Components.
  3. The Windows Components Wizard starts.
  4. Click Networking Services, and then click Details.
  5. In the Networking Services dialog box, select the checkbox for Domain Name System (DNS) in the list.
  6. Click OK. Click Next. Click Finish.

How to create a forward lookup zone

If you want the DNS server to be authoritative for a zone, you have to create and configure a forward lookup zone. A forward lookup zone contains DNS domain zones that are hosted on the DNS server. The DNS server will then be able to resolve a host name to an IP address.

  1. Click Start, Administrative Tools, and then click DNS to open the DNS console.
  2. In the console tree, right-click the DNS server, and then click New Zone from the shortcut menu.
  3. On the Welcome to the New Zone Wizard, click Next.
  4. On the Zone Type page, select the default option, Primary Zone, for the zone type and then click Next.
  5. On the Forward Or Reverse Lookup Zone page, select the Forward lookup zone option, and click Next.
  6. Enter a zone name for the new zone on the Zone Name page. Click Next.
  7. On the Zone File page, accept the default setting: Create A New File With This File Name, and then click Next.
  8. On the Dynamic Update page, select the Allow both nonsecure and secure dynamic updates option. Click Next.
  9. Click Finish to add the new forward lookup zone to the DNS server.

How to add DNS resource records to a DNS zone

The DNS database contains resource records (entries) that are used to resolve name resolution queries sent to the DNS server. Each DNS server contains the resource records (RRs) it needs to respond to name resolution queries for the portion of the DNS namespace for which it is authoritative. While resource records can be configured to be dynamically registered with the DNS server, you can also manually add DNS resource records.

There are various resource records that contain different information or data. The standard DNS record types are:

How to configure a stub zone

  1. Click Start, Administrative Tools, and then click DNS to open the DNS console.
  2. Expand the Forward Lookup Zones folder.
  3. Select the Forward Lookup Zones folder, and then select New Zone from the Action menu.
  4. The New Zone Wizard initiates.
  5. On the initial page of the Wizard, click Next.
  6. On the Zone Type page, select the Stub Zone option.
  7. Uncheck the Store The Zone In Active Directory (Available Only If DNS Server Is A Domain Controller) checkbox. Click Next.
  8. On the Zone Name page, enter the name for the new stub zone in the Zone Name textbox, and then click Next.
  9. Accept the default setting on the Zone file page. Click Next.
  10. On the Master DNS Servers page, enter the IP address of the master server in the Address text box. Click Next.
  11. 1
  12. On the Completing The New Zone Wizard page, click Finish.

How to create a reverse lookup zone

  1. Click Start, Administrative Tools, and then click DNS to open the DNS console.
  2. In the console tree, right-click the DNS server, and then click New Zone from the shortcut menu.
  3. On the Welcome to the New Zone Wizard, click Next.
  4. On the Zone Type page, select the default option, Primary Zone, for the zone type and then click Next.
  5. On the Forward Or Reverse Lookup Zone page, select the Reverse lookup zone option, and click Next.
  6. Enter the IP network for the domain name in the Network ID field and then click Next.
  7. On the Zone File page, accept the default setting: Create A New File With This File Name, and then click Next.
  8. On the Dynamic Update page, select the Allow both nonsecure and secure dynamic updates option. Click Next.
  9. Click Finish to create the new reverse lookup zone.

Configuring a DNS Server

When DNS is installed, and you do not add or configure any zones for the DNS server, the DNS server functions as a caching-only DNS server by default. Caching-only DNS servers do not host zones, and are not authoritative for any DNS domain. The information stored by caching-only DNS servers is the name resolution data that the server has collected through resolving name resolution queries.

The DNS console is the management tool used to configure properties for DNS servers and DNS zones. To access the DNS console; click Start, click Administrative Tools, and then click DNS. If you installed DNS on a stand-one computer through the Add or Remove Program applet of Control Panel, the DNS console contains only the following folders in the console tree:

After creating the DNS zones and adding resource records to these zones, the following task you need to perform is to configure the DNS server's properties. You configure the DNS server by configuring two separate configuration settings:

Configuring DNS Server Properties

You can configure a number of settings for the DNS server through its properties dialog box. To access the Properties of a DNS server;

  1. Click Start, Administrative Tools, and then click DNS.
  2. In the console tree, right-click the DNS server that you want to configure, and then select Properties to open the DNS Server's Properties dialog box.
  3. The DNS Server's Properties contains a number of tabs that you can use to configure settings for all zones hosted on the DNS server.

Interfaces tab
The Interfaces tab is the location where you to specify what Network Interface Cards (NIC) and associated IP addresses, the DNS server should listen to for DNS queries. The DNS server by default listens for DNS requests on the IP addresses that are associated with the local computer.
If you want to limit the number of IP addresses that the DNS server listens to for DNS queries, click the Only the following IP addresses option, and specify the IP addresses the DNS server should listen to in the IP Address field. Click the Add button.

Forwarders tab
DNS forwarders are the DNS servers used to forward queries for different DNS namespace to those DNS servers who can answer the query. A DNS server is configured as a DNS forwarder when you configure the other DNS servers to direct any unresolved queries to a specific DNS server. Creating DNS forwarders can improve name resolution efficiency. Windows Server 2003 DNS introduces a new feature, called conditional forwarding. With conditional forwarding, you create conditional forwarders within your environment that will forward DNS queries based on the specific domain names being requested in the query.

DNS forwarders are configured on the Forwarders tab. You can configure one or multiple DNS forwarders. When multiple DNS forwarders are configured, the DNS forwarders are queried from the top of the list to the bottom of the list. You can also specify the time that the local DNS server should wait between querying different DNS forwarders. If you do not want the DNS server to use others means of name resolution, select the Do not use recursion for this domain checkbox.

Advanced tab
The Advanced tab enables you to configure a number of server options for your DNS server. The various server options which you can configure, and their default settings are:

The Name Checking drop-down list box on the Advanced tab contains the name checking formats which you can configure the DNS server service to use and enforce. While there are four name checking methods which you can choose between, it is recommended to leave the default setting, Multibyte (UTF8), unchanged. The name checking formats in the Name Checking drop-down list box are:

The Load zone data on startup option on the Advanced tab is used to inform the DNS server service of the location from which zone data should be loaded. The options available in the Load zone data on startup drop-down list box are:

The Enable automatic scavenging of stale records checkbox is not selected by default. If you want the DNS server to automatically delete stale resource records from a zone at the interval set under the Scavenging period, select the Enable Automatic Scavenging Of Stale Records checkbox.

Root Hints tab
By default, the Root Hints tab contains a copy of the information stored in the Cache.dns file. If your DNS servers are used to resolve Internet names, you do not need to modify the information on this tab. If however, you want to create your own custom root hints, then you have to delete the Internet root servers and add the correct information for your environment.

Debug Logging tab
If you need to troubleshoot the DNS server, you can use this tab to enable debug logging. You can specify a number of settings on this tab which limits the number of packets which are logged, based on the following:

Event Logging tab
If you want to limit the events which are written to the DNS Events log, you would need to use the Event Logging tab. The options which you can select to limit DNS event logging are:

The Event Viewer folder in the DNS console is the shortcut to the DNS Event Viewer log that is automatically installed when you install DNS.

Monitoring tab
This tab allows you to test querying of the DNS server. You can choose to perform a simple query test, a recursive query test, or you can specify that the DNS server automatically performs testing at an interval that you set. The type of test you want to perform can be selected from the Select A Test Type area of the Monitoring tab. After selecting the test, simply click the Test Now button. The Test Results area of the tab displays the results of the test.

Configuring DNS Zone Properties

DNS zone settings are configured through the Properties dialog box of a specific zone. The properties dialog box of a standard primary DNS zone and a standard secondary DNS zone has the following five tabs:

The properties dialog box of an Active Directory-integrated zone has an additional tab, called the Security tab. This is the tab where you set access permissions for the specific zone:

To access the properties dialog box of a DNS zone,

  1. Click Start, Administrative Tools, and then click DNS.
  2. In the console tree, expand the DNS server node.
  3. Expand the Forward Lookup Zones folder.
  4. Locate and right-click the particular zone that you want to configure zone properties for, and then select Properties from the shortcut menu.
  5. The DNS Zone Properties sheet contains a number of tabs that you can use to configure settings for the specific DNS zone.

General tab
The main zone configuration settings which you can configure on the General tab are:

The buttons and fields which are used to configuration settings on the General tab are:

Start Of Authority (SOA) tab
The Start Of Authority (SOA) tab is the location on the Zone Properties dialog box where you can configure options or settings that are specific for the SOA resource record for the zone. The configuration settings on the Start Of Authority (SOA) tab are:

Name Servers tab
The Name Servers tab shows all the DNS name servers which are authoritative for the zone. The list of authoritative DNS servers could include both primary DNS servers and secondary DNS servers. To change the authoritative DNS servers for the zone, click the Add, Edit, and Remove buttons at the bottom of the Name Servers tab.

WINS tab
If you want to integrate Windows Internet Naming service (WINS) and DNS, then you would use the WINS tab to configure WINS forward lookups for the zone when the DNS server cannot resolve name resolution queries.

Zone Transfers tab
The settings on the Zone Transfers tab determine whether the DNS server will accept zone transfers from the master server. The configuration settings on the Zone Transfers tab are:

How to configure a delegated DNS zone

  1. Click Start, Administrative Tools, and then select DNS to open the DNS console.
  2. Right-click the zone in the console tree, and then select New Delegation from the shortcut menu.
  3. The New Delegation Wizard initiates.
  4. Click Next on the first page of the New Delegation Wizard.
  5. When the Delegated Domain Name page opens, provide a delegated domain name, and then click Next.
  6. On the Name Servers page, click the Add button to add the name and IP address of the DNS server that should host the delegated zone.
  7. On the Name Servers page, click Next. Click Finish

How to enable dynamic updates for a zone

  1. Click Start, Administrative Tools, and the select DNS to open the DNS console.
  2. Right-click the zone you want to work with in the console tree, and then select Properties from the shortcut menu.
  3. When the Zone Properties dialog box opens, on the General tab, select Yes in the Allow Dynamic Updates list box.
  4. Click OK.

How to restore DNS server default server options settings

  1. Click Start, Administrative Tools, and then select DNS to open the DNS console.
  2. Right-click the DNS server and then click Properties on the shortcut menu.
  3. When the Properties dialog box of the DNS server opens, click the Advanced tab.
  4. Click the Reset To Default button.
  5. Click OK.

How to enable/disable fast transfer format for zone transfers

  1. Click Start, Administrative Tools, and then select DNS to open the DNS console.
  2. In the console tree, right-click the DNS server, and then select Properties from the shortcut menu.
  3. When the Properties dialog box of the DNS server opens, click the Advanced tab.
  4. In the Server Options list, select or deselect the BIND Secondaries checkbox.
  5. Click OK.

How to disable local subnet prioritization for multihomed names

  1. Click Start, Administrative Tools, and then select DNS to open the DNS console.
  2. In the console tree, right-click the DNS server, and then select Properties from the shortcut menu.
  3. When the Properties dialog box of the DNS server opens, click the Advanced tab.
  4. In the Server Options list, deselect the Enable Netmask Ordering checkbox.
  5. Click OK.

Related Articles on DNS



Top 5 Free Networking Tools

Bookmark Installing and Configuring DNS

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.