The three load balancing of lamp based on NFS: Deploying BIND9

Source: Internet
Author: User

Operating on the 192.168.1.101

First, install BIND9:

Yum install-y bind

Second, the configuration bind9:

Cp/etc/named.conf{,.back} // make a backup first

Vim/etc/named.conf

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/8C/77/wKiom1htFpiRC5ZnAAHO7SkRJ54143.png "title=" B.png " alt= "Wkiom1htfpirc5znaaho7skrj54143.png"/>

Third, configure the aaa.com domain:

Cp/etc/named.rfc1912.zones{,.back} // Backup First

Vim/etc/named.rfc1912.zones // to add a forward field

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/8C/74/wKioL1htFrDBzdllAABWxP0ZF1A630.png "title=" B.png " alt= "Wkiol1htfrdbzdllaabwxp0zf1a630.png"/>

Vim/var/named/aaa.com.zone

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/8C/74/wKioL1htFs-yswsOAAECpWT2J7I918.png "title=" B.png " alt= "Wkiol1htfs-yswsoaaecpwt2j7i918.png"/>

Chown:named/var/named/aaa.com.zone

chmod 640/var/named/aaa.com.zone // Modify Repository Permissions

Service named Start // Start the service

Verify:

Dig-t A www.aaa.com @192.168.1.101

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8C/77/wKiom1htFufj8iBSAAD43xUH7AE943.png "title=" B.png " alt= "Wkiom1htfufj8ibsaad43xuh7ae943.png"/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8C/74/wKioL1htFxzijyxQAAKHuoJ5AS4662.png "title=" B.png " alt= "Wkiol1htfxzijyxqaakhuoj5as4662.png"/>


The three load balancing of lamp based on NFS: Deploying BIND9

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.