Basic configurations of DNS domain name server, ACL, forwarding domain and subdomain authorization

Source: Internet
Author: User
Tags domain name server subdomain

I. experiment environment

Three Linux servers

1. primary DNS: 192.168.137.6

2. Server Load balancer from DNS (configured as forwarding domain): 192.168.137.7

3. subdomain DNS server: 192.168.137.9

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_1407318397IdNY.png "" 704 "Height =" 514 "/>

2. Install DNS to write the main configuration file and regional configuration file

Vim/etc/named. conf

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_14073183974MfE.png "" 704 "Height =" 581 "/>

Test resolution IP Address: 192.168.137.8 cannot be resolved in the ACL list

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_1407318397J0wQ.png "" 941 "Height =" 417 "/>

The test results of IP: 192.168.137.7 In the ACL list are as follows:

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-Right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_14073183980yn4.png "" 942 "Height =" 450 "/>
Ii. Configure the forwarding domain

IP Address: 192.168.137.7 cannot be used in non-local regions on the Internet, and is forwarded to the primary DNS server of 192.168.137.6.

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_1407318398lgKx.png "" 704 "Height =" 534 "/>

Test forwarding domain:

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_1407318399l6Ys.png "" 903 "Height =" 606 "/>

 

Iii. subdomain authorization Configuration

Two subdomains are permitted on the primary DNS server. The configuration is as follows:

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_1407318399pfZd.png "" 992 "Height =" 505 "/>

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-Right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_1407318399Kju6.png "" 991 "Height =" 436 "/>

Configure the subdomain region and region data file

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-Right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_140731840097Eq.png "" 938 "Height =" 525 "/>

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_1407318400ocsW.png "" 938 "Height =" 358 "/>

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-Right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_1407318401POsB.png "" 942 "Height =" 325 "/>

 

Test authorization subdomain

650) This. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-Right: 0px; border-top: 0px; border-Right: 0px; padding-top: 0px "Title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201408/6/8287762_1407318401AXEG.png "" 958 "Height =" 602 "/>

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.