Windows R2 configuration DNS Implementation level two domain name

Source: Internet
Author: User
Tags mx record top level domain

Content of this article
    • Domain Name resolution
    • Preparatory work
    • Installing a DNS server
    • Establish a DNS zone
    • Set up the host header
    • Server network Settings
    • Test level two domain name
    • IIS builds a Web site
    • Other DNS Services
Domain Name resolution

Domain name resolution is the conversion process of the domain name to the IP address. IP address is the digital identification of network devices, in order to facilitate memory, the use of domain name to replace the IP address. The resolution of the domain name is done by the DNS server.

Preparatory work
    • Suppose your server's IP address is 192.168.1.210
    • Let's say you have two WEB applications: one to complete the general business process, and the other to complete the business exchange
    • Suppose your server serves both as a WEB server and as a DNS resolution server
    • Suppose your server's operating system is Windows R2
    • Suppose you expect to establish a tier domain of Amnode1.net, with two two-level domain names Www.amnode1.net and bbs.amnode1.net, respectively.
Installing a DNS server

If your server does not have the DNS server role installed, please install it first. 1 is shown below:

Figure 1

If you establish a two-level domain name, you must first establish a top-level domain name, and on this basis, establish a two-level domain name.

Establish a DNS zone

Establish the DNS domain (top level domain) Amnode1.net as shown in.

Figure 2

Figure 3

Figure 4

Create a two-level domain name

Create a two-level domain name, which is the host header. As shown in the following:

Figure 5

Other than that

    • A record (IP pointing): Used to specify the IP address record corresponding to the domain name. The user can resolve the domain name to its own Web Server. You can also set the two-level domain name of your domain.
    • CNAME Record (alias point): The equivalent of using sub-domain name to replace the IP address, the advantage is that if the IP address changes, only need to change the sub-domain name resolution, and do not need to modify the IP address resolution.
    • Mail record: It points to a mail server that is used to locate the mail server based on the address suffix of the recipient when the e-mail system sends mail.
    • MX record: It points to a mail server that is used by the e-mail system to locate the mail server based on the recipient's address suffix when sending mail.

Figure 6 (left: Pan-Parse, right: non-pan-parse)

If the "name" in the left field is filled with a wildcard *, it indicates a pan-resolution (pan-domain name resolution). The so-called pan-resolution, using wildcards to do two-level domain names to achieve all two-level domain names are pointing to the same IP address, that is, *.amnode1.net resolves to the same IP address 192.168.1.210, such as Bbs.amnode1.net, Www.amnode1.net, Mail.amnode1.net, even 123.amnode1.net, will point to 192.168.1.210.

In this example, there are two Web applications, so there are two host headers established here, the WWW and BBS, and 6 on the right.

Perhaps you will ask, both of these two-level domain names point to the same IP address, when the client browser access, how to know which application is accessed? At the moment, but don't you forget about IIS? IIS has a "port", "host header" and other related settings, and a network card, you can have more than one IP address. This is the "layered" idea of the benefits, the DNS server just convert the domain name to an IP address, as for the next thing, it is completely out of control, to the IP address that server to deal with.

Server network Settings

In your server's network settings, the DNS server address is set to 192.168.1.210.

Figure 7

Test level two domain name

On the command line, run the Nslookup test on the two-level domain name created above. As shown in 8.

Figure 8

IIS builds a Web site

Set up two sites, www.amnode1.net and bbs.amnode1.net, except for "site name", "Physical Path", and "hostname", other options can be the same.

Then, in the client network settings, it is obvious to set the DNS server address to 192.168.1.210. Then PING the two two-level domain name, whether normal, if normal, you can use the browser to access the normal www.amnode1.net or bbs.amnode1.net.

Other DNS Services

In practice, there are three-party DNS services, such as peanut shells, but the principle is the same. On the Peanut Shell website console settings.

Windows R2 configuration DNS Implementation level two domain name

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.