https://www.isc.org/bind-9-11-arm/
yum -y install gcc GeoIP GeoIP-update GeoIP-devel openssl-devel
wget -O bind-9.11.2.tar.gz https://www.isc.org/downloads/file/bind-9-11-2/
./configure --prefix=/opt/bind --with-dlz-mysql=/opt/Percona-Server-5.7.17-11-Linux.x86_64.ssl101 --with-geoip=yes --enable-querytrace --enable-getifaddrs --enable-epoll --enable-openssl-hash --enable-largefile --enable-threads=no --with-dlopen=yes --with-openssl=yes --enable-openssl-hash=yes --with-python
cd /usr/include;ln -s /opt/Percona-Server-5.7.17-11-Linux.x86_64.ssl101/include mysql
sed -i '/DLZDRIVER_LIBS/s/mysql//;s/lmysqlclient/lperconaserverclient/' bin/named/Makefile
sed -i 's/lmysqlclient/lperconaserverclient/g' configure contrib/dlz/modules/mysql/Makefile contrib/dlz/modules/mysqldyn/Makefile contrib/dlz/config.dlz.in
sed -i '/MYSQL_LIBS=/s/=/=-L\/opt\/Percona-Server-5.7.17-11-Linux.x86_64.ssl101\/lib /' contrib/dlz/modules/mysqldyn/Makefile
make && make install
echo "/opt/Percona-Server-5.7.17-11-Linux.x86_64.ssl101/lib" > /etc/ld.so.conf.d/mysql.conf
pip instatll -r requirements.txt
修改默认配置bindmanager/config/app.cfg
导入bind.sql
mysql < bind.sql
nohup python runserver.py &>>access_log
默认登录用户名和密码
admin 0123456