Windows. DNS. How do I use my own server for DNS domain name resolution and how do I create a Domain Name Server?

Source: Internet
Author: User
Tags domain name server domain list domain name registration mx record reverse dns dns forwarder

Many people do not know how to resolve public domain names on their own DNS servers. Now let's announce the steps.

1. You must have your own domain name. Therefore, go to the domain name registrar to apply for a registered domain name. Try to find a large domain name registrar. com. CN or. CN, you can directly go to the http://www.cnnic.net.cn/to register. Other international domain names can go to http://www.net.cn. Remember, unless you are not technically competent, do not go to the agent for registration, because the domain name management after registration by the agent is maintained by the agent, not a separate account, you cannot maintain it yourself. I met an agent registered with xinnet. As a result, the service attitude of the agent was very poor. I wanted to contact the Customer Service of xinnet directly over the agent. I did not expect the customer service of xinnet to say that they were not responsible for the agent, I must find the agent. Otherwise, go to CNNIC to apply for arbitration. xinnet does not care about this. If you are in a hurry to change the domain name to point to it, you will be finished.

2. Set up a server of your own, which must have a fixed IP address. We recommend that you host it in an IDC. The cheapest 1u license fee in Shanghai is about 3000 a year. The price of a 1u server starts from 10 thousand to, but it is a serial hard disk, Not A-to-SCSI. Before purchasing a server, you 'd better ask the supplier to provide a test server. You can test the NIC throughput and disk performance by yourself. The Asus 1600 CS3 + RAID 5 card is a complete failure, although the computing performance is good, but the disk performance is poor, only 5 Mb/s, slower than USB 2.0!

3. After successfully registering a domain name at the domain name registrar, you can create a DNS server. Different domain name providers may provide different management interfaces, but they all have functions similar to creating a DNS server, apply and pay the money to activate the service.
Take hichina for example:
First, if your domain name is not registered with a large domain name Registrar such as hichina, it will not separately provide the registration service for creating DNS servers.
Second, the DNS resolution server generally has two registration items, such as dns1.access911. Net | dns2.access911. Net, which can point to different IP addresses respectively. In this way, if you have two servers in different data centers, you can ensure that DNS continues.
Again, for the same DNS, such as dns1.access911. net registered at least twice in hichina, paid twice (75 yuan once), resolved the domestic domain name respectively (. com. CN |. CN) and international domain name (. com |. net)

4. Successful DNS registration does not start from the successful payment at hichina. You have to go to the domain name registration management authority and resolve the domestic domain name
Http://www.cnnic.net.cn/index/0A/index.htm fill in your own DNS domain name in the host query box, such as ns1.access911. if successful, he will prompt you the name of the domain name, IP address, Registrar name; international domain name in the http://www.internic.net/whois.html in "whois (. aero ,. arpa ,. biz ,. cat ,. com ,. coop ,. edu ,. info ,. int ,. jobs ,. moBi ,. museum ,. name ,. net ,. org ,. pro, and. travel): "in the text box, enter ns1.access911. and then select nameserver (ex. NS. example. com or 192.16.0.192), and then click the submit button (submit). If the registration is successful, a message similar to the following is displayed:

Whois server version 1.3

 

Domain names in the. com and. Net domains can now be registered
With your different competing registrars. Go to http://www.internic.net
For detailed information.

Server Name: ns. asusnb. com. cn
Registrar: hichina Web Solutions (Hong Kong) Limited
Whois server: grs.hichina.com
Referral URL: http://whois.hichina.com


However, even if the registration is successful, it is used in the Windows cmd. EXE window.

NSLookup
Set type = NS
Set debug
Ns1.access911.net

The following prompt is displayed:

* ** Zj-ns1.cableplus.com.cn can't find ns1.access911.net: non-existent domain

You must go to the domain name management interface and change the DNS server of your own domain name to your own DNS domain name. For example, if the domain name on this site is access911.net, you must change the DNS server of access911.net from dns9.hichina.net to ns1.access911.net. The validity period is estimated to be half a day. We recommend that you modify it at pm, you can activate it in the morning.

5. Install the DNS service on your own server. For example, if Windows 2003 is used, it is not installed by default. Use the Add/delete program on the Control Panel to create one. The procedure is as follows:

Summary
This step-by-step guide describes how to configure Internet access for the Domain Name System (DNS) in Windows Server 2003. DNS is the core name resolution tool used on the Internet. DNS resolves host names and Internet addresses
How to start from an independent server running Windows Server 2003 to a DNS server running Windows Server 2003. Step 1: assign a static Internet Protocol (IP) address to the server. The DNS server should not use the dynamically assigned IP address because the dynamic modification of the address will cause the client to lose contact with the DNS server.

 

Step 2: Configure TCP/IP
Click Start, point to control panel, point to network connection, and then click local connection.
Click properties.
Click Internet Protocol (TCP/IP )., Click properties.
Click the General tab.
Click use the following IP address, and then type the IP address, subnet mask, and default gateway address in the corresponding box.
Click Advanced, and then click the DNS tab.
Click attach primary and connect to a specific DNS suffix.
Click to select the parent suffix that is appended with the primary DNS suffix check box.
Click to select the register connection address check box in DNS.
Note that the DNS server running Windows Server 2003 must specify its DNS server as itself. If the server needs to resolve the name of its Internet service provider (ISP), you must configure a forwarder. The configuration of the forwarder will be discussed later in this article. Click OK three times.
Note: If you receive a warning from the DNS Cache parser service, click OK to close the warning. The cache parser is trying to contact 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 delete programs.
Click Add or delete Windows Components.
In the component list, click Network Service (but do not select or clear this 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 complete Windows Components Wizard Page.
Click Close to close the add or delete programs window.

Step 2: configure the DNS server
To use the DNS Management Unit in the Microsoft Management Console (MMC) to configure DNS, follow these steps:
Click Start, point to program, point to administrative tools, and then click DNS.
Right-click the area to be searched, and click Create area.
When the new region wizard is started, click Next.
Then, you are prompted to select the region type. Region types include:
Primary region: Create a copy of the region that can be directly updated on this server. The region information is stored in a. DNS text file.
Secondary region: the standard secondary region copies all information from its primary DNS server. The primary DNS server can be an Active Directory region, primary region, or secondary region configured for regional replication. Note: you cannot modify the region data on the secondary DNS server. All data is copied from the primary DNS server.
Stub region: the stub region only contains the resource records required by the authoritative DNS server that identifies the region. These resource records include name server (NS), start authorization Organization (SOA), and possible glue host (a) records.
Active Directory also has an option for storing the region. This option is only available when the DNS server is a domain controller.
The new positive search region must be the primary region or the region integrated with Active Directory so that it can accept dynamic updates. Click main, and then click Next.
The new region contains the locator record for the Active Directory-based domain. The region name must be the same as the domain name Based on Active Directory, or the logical DNS container for this name. For example, if the domain name Based on Active Directory is "support.microsoft.com", the valid region name can only be "support.microsoft.com ".
Accept the default name of the new region file. Click Next.
Note: Experienced DNS administrators may want to create reverse search areas. Therefore, we recommend that you study this branch of the wizard. The DNS server can parse two basic requests: Forward search requests and reverse search requests. Forward search is more common. Forward search resolves the host name to an IP address with "A" or host resource record. Reverse search resolves an IP address to a host name with a PTR or pointer resource record. If you have configured the reverse DNS region, You can automatically create an associated reverse record when creating the original forward record.

How to remove the root DNS Region
The DNS server running Windows Server 2003 follows specific steps in its name resolution process. The DNS server first queries its high-speed cache, then checks its region records, then sends the request to the forwarder, and finally tries to resolve it using the root server.
By default, the Microsoft DNS Server is connected to the Internet to further process DNS requests with the root prompt. When the dcpromo tool is used to promote the server to a domain controller, the domain controller needs DNS. If DNS is installed during the upgrade, a root region is created. This root region indicates to your DNS server that it is a root Internet server. Therefore, your DNS server does not use a forwarder or root prompt 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 the forward search area.
Right-click the "." area and click Delete.

How to configure a forwarder
Windows Server 2003 makes full use of the DNS forwarder. This function forwards DNS requests to external servers. If the DNS server cannot find the resource record in its region, you can send the request to another DNS server for further resolution. A common situation is to configure the forwarder to your ISP's DNS server.
Click Start, point to administrative tools, and then click DNS.
Right-click servername, where servername is the name of the server, and then click the forwarder tab.
Click a DNS domain in the DNS domain list. Or click New, enter the name of the DNS domain you want to forward in the DNS domain box, and then click OK.
In the Reseller 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.
Click OK.

How to configure the root prompt
For Windows, you can use the root prompt. The root prompt resource records can be stored in Active Directory or text files (% SystemRoot %/system32/DNS/cache. DNS. Windows uses the standard InterNIC root server. In addition, 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, and then click Properties.
Click the root prompt tab. The root server of the DNS server is listed in the name server list.

How to configure DNS after the 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 console also uses RCP. RCP port 135. These problems may occur when you configure DNS and firewall.

Trackback: http://tb.blog.csdn.net/TrackBack.aspx? Postid = 764961

6. Some DNS servers registered through informal channels (some domain name registration agents go through backdoors) cannot be found in CNNIC and InterNIC, but it can do DNS resolution, then we need to ask the domain name registration agent about these issues.

7. Some time lists, taking hichina as an Example

Registered domain name: 12 hours after receipt. If you make the fastest payment directly to the branch offices of hichina,
Otherwise, it takes 3 days to confirm the receipt.
DNS registration: 12 hours after receipt. The receipt period is the same as above.
Second-level domain name creation and modification: generally about 2 hours. Although hichina prompts that it would take 12 hours,
However, a | NS | cname | the MX record is generally created for two hours.
Related Article

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.