Windows2003's own DNS service configuration method

  
                  

People may have this confusion: when a computer communicates on the network, it only recognizes a numeric address such as "123.123.123.123", so why do we enter the domain name dns.qy in the address bar when we open the browser? After .com.cn, you can see the page we need?

In fact, it is just a process of "translating" an IP address and domain name. The former has to create a domain name mapping record that points to the corresponding IP address; for the latter, this record has been created and is in effect. The establishment of such "translation" records requires the use of a computer called the "DNS server." //This article is from www.45it.com Computer Software and Hardware Application Network

The DNS server is used in TCP/IP networks. It is used to locate computers and services by replacing user-friendly names with hard-to-remember IP addresses. Therefore, as long as you need to use a domain name, you must first ensure that the corresponding IP address mapping work has been done in the DNS server for this name.

This article will take Windows2003's own DNS service as an example to discuss how to complete the "translation system" in the LAN.

First, add DNS service

After you install Win2003, the DNS service has not been added. Open "Start → Control Panel → Add /Remove Programs → Add /Remove Windows Components, click Add or Remove Windows Components. In the list of components, click Network Services (but do not select or clear the check box), then single Click Details. Click on Domain Name System (DNS) and click OK.

Click Next and when prompted, insert the Windows Server 2003 CD-ROM into your computer's drive. When the installation is complete, finish Windows. Click Finish on the Component Wizard page.

Configuring DNS Server

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 the forward search area and click New Area. When the New Area Wizard starts, click Next. You will then be prompted to select the area type. Br>

The zone types include:

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

Auxiliary Area: The standard secondary area 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. The zone data cannot be modified. 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 the zone. These resource records include the name server. (NS), Start of Authority (SOA) and possible glue host (A) records.

There is also an option to store zones in Active Directory. This option is only for DNS servers that are domain controllers. Available.

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

New The zone contains the locator record for the Active Directory-based domain. The zone name must be the same as the name of the Active Directory-based domain, or the logic of the name DNS container. For example, if the name of the Active Directory-based domain is "support.microsoft.com", the valid zone name can only be "support.microsoft.com", accepting the default name of the new zone file.

How to remove the root DNS zone

The DNS server running Windows Server 2003 follows specific steps in its name resolution process. First query its cache, then check its zone record, then send the request to the forwarder, and finally use the root server to try to resolve.

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.

At this point you can choose to remove the root DNS zone. Click Start, point to Administrative Tools, and then click DNS. Expand Server Name, where Serve Name is the name of the server, click Properties, and then expand Forward Lookup Zone. Right click on the "." area and click Delete.

How to configure a forwarder

Windows Server 2003 can make full use of the DNS forwarder. This feature forwards DNS requests to an external server. If the DNS server is unable to find a resource record in its zone, the request can be sent 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 Server Name, where Server Name 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 the DNS domain box, and then 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.

DNS is the core name resolution tool used on the Internet and is responsible for parsing between host names and Internet addresses. Making the necessary and reasonable settings will make our work more effective.

Copyright © Windows knowledge All Rights Reserved