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 "/>