DNS server Management and configuration techniques _dns Server

Source: Internet
Author: User
Tags stub domain list
People may have such a puzzle: computers on the network can only identify such as "123.123.123.123" such as digital address, so why when we open the browser, in the Address bar to enter the domain name dns.qy.com.cn, we can see the page we need?

In fact, just an IP address and domain name each other "translation" process. The former has to establish a domain name Mapping record that points to the corresponding IP address; for the latter, this record has been established and is in effect. The creation of this "translation" record requires that the same computer known as the "DNS server" be used.

DNS servers are used in TCP/IP networks to locate computers and services by replacing difficult IP addresses with user-friendly names. So, as long as you need to use a domain name, you have to first ensure that the name in the DNS server for the corresponding and IP address mapping work.

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

First, add DNS service

When you install the Win2003, the DNS service is not added. Turn on "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), and then click Details. Click on the selected domain Name System (DNS), and then click OK.

Click Next, and after you are prompted, insert Windowsserver2003cd-rom into your computer's drive. When the installation is complete, click Finish on the Completing the Windows Components Wizard page.

Second, configure the DNS server

To configure DNS using the DNS snap-in in Microsoft Management Console (MMC), follow these steps: Click Start, point to Programs, point to Administrative Tools, and then click DNS. Right-click the forward lookup zone, and then clicking New Area. When the New Zone Wizard starts, click Next. You will then be prompted to select a zone type.

zone types include:

Primary zone: Creates a copy of the zone that can be updated directly on this server. This area information is stored in a. DNS text file.

Secondary zone: The standard secondary zone replicates all information from its primary DNS server. The primary DNS server can be an Active Directory zone, a primary zone, or a secondary zone that is configured for zone replication. The zone data on the secondary DNS server cannot be modified. All data is replicated from the primary DNS server.

Stub zone: The stub zone contains only the resource records that are required to identify the authoritative DNS servers for the zone. These resource records include the name server (NS), the starting authority (SOA), and the possible glue host (A) record.

Active Directory also has an option to store the area. This option is available only when the DNS server is a domain controller.

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

The new zone contains locator records for the domain based on Active Directory. The zone name must be the same as the name of the domain that is based on Active Directory, or the logical DNS container for that name. For example, if the domain based on Active Directory has the name "support.microsoft.com", then the valid zone name can only be "support.microsoft.com" and accept the default name for the new zone file.

How to remove the root DNS zone

A DNS server running WindowsServer2003 follows a specific step in its name resolution process. It first queries its cache, then checks its zone records, sends the request to the forwarder, and finally tries to resolve it using the root server.

By default, a 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 you install DNS 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.

You can then 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 the Forward lookup zone. Right-click. area, and then click Delete.

How to configure forwarders

WindowsServer2003 can take full advantage of DNS forwarders. This feature forwards DNS requests to an external server. If the DNS server cannot find a resource record in its zone, the request can be sent to another DNS server for further attempts to resolve. A common scenario is a forwarder configured to your ISP's DNS server.

Click Start, point to Administrative Tools, and then click DNS. Right-click server name, where Server name is the name of the server, and then click the Forwarders tab. Click a DNS domain in the DNS domain list. Or, click New, type the name of the DNS domain for which you want to forward the query in the DNS domain box, and then click OK.

In the Forwarder IP address box for 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, which is responsible for parsing between host names and Internet addresses. The necessary reasonable setting, will make our work to achieve a multiplier effect.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.