Windows 2003 Internet configuration DNS skills

  

This step-by-step article describes how to configure Internet access for Domain Name System (DNS) in a Windows Server 2003 product. DNS is the core name resolution tool used on the Internet. Responsible for resolution between host name and Internet address.

How to start from a stand-alone server running Windows Server 2003

A stand-alone server running Windows Server 2003 becomes the DNS server for your network. The first step is to assign a static Internet Protocol (IP) address to the server. The DNS server should not use dynamically assigned IP addresses because dynamic changes to the address can cause the client to lose contact with the DNS server.

Step 1: Configure TCP/IP

Open a network connection and use the right mouse button to view the properties of the local connection.

Select Internet Protocol (TCP/IP). View its properties.

Click the General tab.

Select “Use the following IP address”, then type the IP address, subnet mask, and default gateway address in the appropriate boxes.

Check the DNS tab in the advanced options.

Click Attach Primary and Connection Specific DNS Suffixes.

Click to select the Parent suffix of the primary DNS suffix check box.

Click to select the Register addresses for this connection in DNS check box.

Note that a DNS server running Windows Server 2003 must specify its DNS server as itself.

If the server needs to resolve the name of an Internet Service Provider (ISP) from it, you must configure a forwarder. The forwarder will be discussed in the How to Configure Forwarder section later in this article.

Click OK three times.

Note: If you receive a warning from the DNS Cache Resolver service, click “OK" to turn off the warning. The cache parser is trying to get in touch with the DNS server, but you have not completed the configuration of the server

Step 2: Install the Microsoft DNS server

Click Start, point to Control Panel, and then click Add or remove programs.

Click “Add or remove Windows components”.

In the list of components, click Network Services (but do not select or clear the check box), and then click Details. Click to select the Domain Name System (DNS) check box, and then click OK.

Click Next.

When prompted, insert the Windows Server 2003 CD-ROM into your computer's CD-ROM or DVD-ROM drive.

When the installation is complete, click Finish on the Completing the Windows Components Wizard page.

Click Close to close the Add or Remove Programs window.

Step 3: Configure DNS Servers

To configure DNS using the DNS snap-in in the Microsoft Management Console (MMC), follow these steps:

Click Start, point to Programs, point to Administrative Tools, and then click DNS.

Right-click on the forward search area and click New Area.

When the <;New Zone Wizard> is launched, click Next.

You will then be prompted to select the region type. The zone types are:

Main zone: Create a copy of the zone that can be updated directly on this server. This area information is stored in a .dns text file.

Auxiliary Zone: The standard secondary zone copies all information from its primary DNS server. The primary DNS server can be an Active Directory zone, primary zone, or secondary zone configured for zone replication. Note that you cannot modify the zone data on the secondary DNS server. All data is copied from the primary DNS server.

Stub zone: The stub zone contains only the resource records required to identify the authoritative DNS server for that zone. These resource records include Name Server (NS), Start of Authority (SOA), and possibly glue host (A) records.

There is also an option in Active Directory to store zones. This option is only available when the DNS server is a domain controller.

The new forward lookup zone must be a primary zone or an Active Directory integrated zone so that it can accept dynamic updates. Click Primary, then click Next.

The new zone contains locator records for this Active Directory-based domain. The zone name must be the same as the name of the Active Directory-based domain or a logical DNS container for that name. For example, if the name of an Active Directory-based domain is “support.microsoft.com”, the valid zone name can only be “support.microsoft.com”.

Accept the default name of the new zone file and click Next

Note: Experienced DNS administrators may wish to create a reverse lookup zone, so it is recommended that they delve into this branch of the wizard. The DNS server can resolve two basic requests: forward search requests and reverse search requests. Forward search is more common. The forward search resolves the host name to an IP address with a <A>; or host resource record. Reverse search resolves the IP address to a host name with a PTR or pointer resource record. If you have configured a reverse DNS zone, you can automatically create an associated reverse record when you create the original forward record.

How to remove the root DNS zone

The DNS server running Windows Server 2003 follows specific steps in its name resolution process. The DNS server first queries its cache, then checks its zone record, then sends the request to the forwarder, and finally tries to resolve it using the root server.

By default, the Microsoft DNS server connects to the Internet to further process DNS requests with root hints. When using the Dcpromo tool to promote a server to a domain controller, the domain controller requires DNS. If DNS is installed during the promotion process, a root zone is created. This root zone indicates to your DNS server that it is a root Internet server. Therefore, your DNS server does not use forwarders or root hints during name resolution.

Click Start, point to Administrative Tools, and then click DNS.

Expand ServerName, where ServerName is the name of the server, click Properties, and then expand Forward Lookup Zones.

Right-click the "." area and click Delete.

How to configure forwarders

Windows Server 2003 can take advantage of DNS forwarders. This feature forwards DNS requests to an external server. If the DNS server cannot find the resource record in its zone, you can send the request to another DNS server for further attempts to resolve. A common situation is to configure a forwarder to your ISP's DNS server.

Click Start, point to Administrative Tools, and then click DNS.

Right-click on ServerName, where ServerName is the name of the server, and then click the Forwarders tab.

Click on a DNS domain in the DNS domain list. Or click New, type the name of the DNS domain you want to forward the query in in the DNS"domain box" and click OK.

In the Forwarder IP Address box of the selected domain, type the IP address of the first DNS server you want to forward to, and then click Add.

Repeat step 4 to add the DNS server you want to forward to.

Click OK.

How to configure root hints

Windows can use root hints. The root hint resource record can be stored in an Active Directory or text file (%SystemRoot%\\System32\\DNS\\Cache.dns). Windows uses a standard Internic root server. Also, when a server running Windows Server 2003 queries the root server, it updates itself with the latest root server list.

Click Start, point to Administrative Tools, and then click DNS.

Right-click ServerName, where ServerName is the name of the server, then click Properties. Click the Root Tips tab. The root server of the DNS server is listed in the name server list.

How to configure DNS behind a firewall

Proxy and Network Address Translation (NAT) devices can restrict access to ports. DNS uses UDP port A and TCP port 53. The DNS Service Management Console also uses RCP. RCP uses port 135. These issues can occur when you configure DNS and firewalls

Copyright © Windows knowledge All Rights Reserved