Smart DNS from the root domain to the client
DNS Experimental Network Topology Diagram
Note: 1. First set all ip to static IP. two。 Clear firewall rule 3. When performing a dig + trace trace on a passing DNS server, it can only be performed above CentOS 7 on the customer server. 4. After each subdomain file is established, modify the file permission to 640, the owner is root, and the group is named. Set the following line in the root domain modification / etc/named.conf file first.
Create the root.zone file in the / var/named/ directory
Second, top-level domain COM modify / etc/named.rfc1912.zone file; add a domain file
Create the com.zone file in the / var/named/ directory
Third, second-level domain COM
Create the qq.com.zone file in the / var/named/ directory
IV. Intelligent DNS
Create the domain file of the intelligent DNS in the / var/named/ directory, shanghai.zone,beijing.zone
Test the Beijing domain analysis results on the customer service side.
Analytical results of Shanghai area