FreeBSD如何升级BIND 9.x

时间:2019-11-20 08:54:05  来源:igfitidea点击:

如何在FreeBSD 7.x下应用BIND 9安全补丁?
如何修补BIND 9 最近的DNS缓存漏洞?

要在FreeBSD 6.3下解决此问题,请下载补丁:

# cd /tmp
# fetch -o bind.patch http://security.FreeBSD.org/patches/SA-08:06/bind63.patch

如果您使用的是FreeBSD 7.0,请输入:

# cd /tmp
# fetch -o bind.patch http://security.FreeBSD.org/patches/SA-08:06/bind7.patch

执行以下命令来编译和安装bind 9补丁:

# cd /usr/src
# patch < /tmp/bind.patch
# cd /usr/src/lib/bind
# make obj && make depend && make && make install
# cd /usr/src/usr.sbin/named
# make obj && make depend && make && make install

重启bind9:

# /etc/rc.d/named restart
# tail -f /var/log/messages