$tar zxvf bind-9.9.3-P1.tar.gz $yum install -y make gcc gcc-c++ open-ssl openssl-devel $cd bind-9.9.3-P1 $sudo ./configure -prefix=/usr/local/named --mandir=/usr/local/share/man -enable-threads --disable-openssl-version-check $sudo make && sudo make install
sudo /usr/local/named/sbin/rndc-confgen > /usr/local/named/etc/rndc.conf
cd /usr/local/named/etc/
tail -n10 rndc.conf | head -n9 | sed -e s//#//g > named.conf
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/2491.html