#wget http://ftp.isc.org/isc/bind9/cur/9.9/bind-9.9.1-P2.tar.gz
#tar zxvf bind-9.9.1-P2.tar.gz
#cd bind-9.9.1-P2
#./configure --prefix=/usr/local/named --enable-threads
#make
#make install
#cd /usr/local/named
#rndc-confgen > etc/rndc.conf
#cd etc
#tail -10 rndc.conf | head -9 | sed s/#\ //g > named.conf 
#mkdir log
 

其他配置:

 1) 让bind随系统自启动:将/usr/local/named/sbin/named加入/etc/rc.local文件中。

 2) 如果bind需要配置主从DNS,则建议对freebsd配置ntp校时:将ntpdate 58.192.*.* 加入/etc/rc.local文件中。

 

相关文章:

  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
  • 2021-06-11
猜你喜欢
  • 2021-12-11
  • 2021-07-17
  • 2021-04-19
  • 2021-09-06
  • 2021-09-21
  • 2022-02-26
相关资源
相似解决方案