升级Solaris 10内的DNS服务器

发表于:2007-06-13来源:作者:点击数: 标签:
到ISC BIND 下载 BIND 9.3.2 ( http://ftp.isc.org/isc/bind9/9.3.2/bind-9.3.2.tar.gz ) # cd /usr/local/src # wget http://ftp.isc.org/isc/bind9/9.3.2/bind-9.3.2.tar.gz # cp bind-9.3.2.tar.gz .. # cd .. # gzip -d bind-9.3.2.tar.gz # tar -vxf bi

到ISC BIND 下载 BIND 9.3.2 ( http://ftp.isc.org/isc/bind9/9.3.2/bind-9.3.2.tar.gz )

# cd /usr/local/src

# wget http://ftp.isc.org/isc/bind9/9.3.2/bind-9.3.2.tar.gz

# cp bind-9.3.2.tar.gz ..

# cd ..

# gzip -d bind-9.3.2.tar.gz

# tar -vxf bind-9.3.2.tar

# rm bind-9.3.2.tar

# cd bind-9.3.2

# ./configure

.....

# make

.....

# make install

# cd /usr/sbin

# mv named named.orig

# mv named-checkconf named-checkconf.orig

# mv named-checkzone named-checkzone.orig

# cp /usr/local/sbin/named .

# cp /usr/local/sbin/named-checkconf .

# cp /usr/local/sbin/named-checkzone .

检查新安装的 BIND 9 DNS Server 版本

# /usr/sbin/named -v 

BIND 9.3.2

从新启动 Chroot Jail 了的 DNS Service

# svcadm disable dns/server:chroot

# svcadm enable dns/server:chroot
# svcs dns/server

STATE STIME FMRI

disabled 6:21:03 svc:.network/dns/server:default

online 6:27:01 svc:/network/dns/server:chroot

#

# ps -elf | grep named

noaclearcase/" target="_blank" >ccess 133 1 0 20:31:29 ? 0:00 /usr/sbin/named -t /chroot/dns

#

新的 Bind 9 DNS Server Version 9.3.2 现在已经安装好了。

(责任编辑:城尘 68476636-8003)



原文转自:http://www.ltesting.net

...