Set up smart DNS for BIND in CentOS Linux

Source: Internet
Author: User
Tags fast web

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.

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.