Microsoft KB Archive/814591

= How To Install and Configure DNS Server in Windows Server 2003 =

Article ID: 814591

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows XP Professional for Itanium-based systems
 * Microsoft Windows Small Business Server 2003 Standard Edition
 * Microsoft Windows Small Business Server 2003 Premium Edition

-



IN THIS TASK

 * SUMMARY
 * Before You Start
 * Install DNS
 * Configure DNS
 * REFERENCES



SUMMARY
This step-by-step article describes how to install and configure DNS on your Windows Server 2003 computer.

back to the top

Before You Start
Before you start to configure your DNS, you must gather some basic information. Internic must approve some of this information for use on the Internet, but if you are configuring this server for internal use only, you can decide what names and IP addresses to use.

You must have the following information:
 * Your domain name (approved by Internic).
 * The IP address and host name of each server that you want to provide name resolution for.

Note: The servers may be your mail servers, public access servers, FTP servers, WWW servers, and others.

Before you configure your computer as a DNS, verify that the following conditions are true:
 * Your operating system is configured correctly. In the Windows Server 2003 family, the DNS service depends on the correct configuration of the operating system and its services, such as TCP/IP. If you have a new installation of a Windows Server 2003 operating system, then you can use the default service settings. You do not have to take additional action.
 * You have allocated all the available disk space.
 * All the existing disk volumes use the NTFS file system. FAT32 volumes are not secure, and they do not support file and folder compression, disk quotas, file encryption, or individual file permissions

back to the top

Install DNS
 Open Windows Components Wizard. To do so, use the following steps:  Click Start, click Control Panel, and then click Add or Remove Programs. Click Add/Remove Windows Components.  In Components, select the Networking Services check box, and then click Details. InSubcomponents of Networking Services, select the Domain Name System (DNS) check box, click OK, and then click Next. If you are prompted, in Copy files from, type the full path of the distribution files, and then click OK.</li></ol>

back to the top

Configure DNS
 Start the Configure Your Server Wizard. To do so, click Start, point to All Programs, point to Administrative Tools, and then click Configure Your Server Wizard.</li> On the Server Role page, click DNS server, and then click Next.</li> On the Summary of Selections page, view and confirm the options that you have selected. The following items should appear on this page: <ul> Install DNS</li> Run the Configure a DNS Wizard to configure DNS</li></ul>

If the Summary of Selections page lists these two items, click Next. If the Summary of Selections page does not list these two items, click Back to return to the Server Role page, click DNS, and then click Next.</li> When the Configure Your Server Wizard installs the DNS service, it first determines whether the IP address for this server is static or is configured automatically. If your server is currently configured to obtain its IP address automatically, the Configuring Components page of the Windows Components Wizard prompts you to configure this server with a static IP address. To do so:  In the Local Area Connection Properties dialog box, click Internet Protocol (TCP/IP), and then click Properties.</li> In the Internet Protocols (TCP/IP) Properties dialog box, click Use the following IP address, and then type the static IP address, subnet mask, and default gateway for this server.</li> In Preferred DNS, type the IP address of this server.</li> In Alternate DNS, type the IP address of another internal DNS server, or leave this box blank.</li> When you finish setting up the static addresses for your DNS, click OK, and then click Close.</li></ol> </li> After you click Close, the Configure a DNS Server Wizard starts. In the wizard, follow these steps:  On the Select Configuration Action page, select the Create a forward lookup zone check box, and then click Next.</li> <li>To specify that this DNS hosts a DNS zone that contains DNS resource records for your network resources, on the Primary Server Location page, click This server maintains the zone, and then click Next.</li> <li>On the Zone Name page, in Zone name, specify the name of the DNS zone for your network, and then click Next. The name of the zone is the same as the name of the DNS domain for your small organization or branch office.</li> <li>On the Dynamic Update page, click Allow both nonsecure and secure dynamic updates, and then click Next. This makes sure that the DNS resource records for the resources in your network update automatically.</li> <li>On the Forwarders page, click Yes, it should forward queries to DNS servers with the following IP addresses, and then click Next. When you select this configuration, you forward all DNS queries for DNS names outside your network to a DNS at either your ISP or central office. Type one or more IP addresses that either your ISP or central office DNS servers use.</li> <li>On the Completing the Configure a DNS Wizard page of the Configure a DNS Wizard, you can click Back to change any of the settings. To apply your selections, click Finish.</li></ol> </li></ol>

After you finish the Configure a DNS Wizard, the Configure Your Server Wizard displays the This Server is Now a DNS Server page. To review all the changes that you made to your server in the Configure Your Server Wizard or to make sure that a new role was installed successfully, click Configure Your Server log. The Configure Your Server Wizard log is located at %systemroot%\Debug\Configure Your Server.log. To close the Configure Your Server Wizard, click Finish.

back to the top

<div class="references_section">