Set up smart DNS for BIND in CentOS Linux
Due to the rapid development of the Internet, simple DNS resolution can no longer meet the needs of today's Internet. As a result, the intelligent DNS statement emerged. Next, we will briefly introduce how to install BIND software in CentOS to build an intelligent DNS server. Such a DNS server is mainly implemented using acl and view statements. Its benefits include implementing CDN's fast WEB Cache proxy, controlling the results of the query source, and so on ..... Well, let's not talk about anything else.
Lab environment: VMware 9 CentOS6.3 two operating system virtual machines.
Smart DNS cable-seeking server: IP address 192.168.2.125/24 (VMnet 2), Client IP Address: 192.168.2.126/24 192.168.2.127/24 (VMnet 2), and the IP address is changed after the client host is tested.
1. Install BIND software to build a DNS server (skipped)
2. Configure the smart tracing DNS master file:
Configure the zone resolution document:
After the configuration is complete, start the DNS server: service named restart.
3. Test the client: (After testing an IP address, replace the Client IP address and test again)
The following is a simulated test conducted by the client (DNS query source) ip address 192.168.2.126. The query result shows that the corresponding server address is 192.168.2.225. The query is correct!
The client 192.168.2.126 query is correct.
The following is a simulated test on the IP address 192.168.2.127 of the client (DNS query source). The query result shows that the corresponding server address is 192.168.2.227. The query is correct!
The client 192.168.2.126 query is correct.
The local query source (DNS server itself) test results cannot be configured here. We can see from the experiment above. Intelligent DNS can solve load balancing, network security, and fast response. The view and acl statements are used. By default, the DNS server address cannot be queried without configuration. Simple setup. For more information, see.