分类: LINUX
2011-01-25 09:01:15
yum install bind* #安装5个文件
bind.i386 30:9.3.6-4.P1.el5_4.2
bind-chroot.i386 30:9.3.6-4.P1.el5_4.2
bind-devel.i386 30:9.3.6-4.P1.el5_4.2
bind-libbind-devel.i386 30:9.3.6-4.P1.el5_4.2
bind-sdb.i386 30:9.3.6-4.P1.el5_4.2
查询
bind-libs-9.3.6-4.P1.el5_4.2
bind-devel-9.3.6-4.P1.el5_4.2
bind-utils-9.3.6-4.P1.el5_4.2 #DNS查询工具
bind-chroot-9.3.6-4.P1.el5_4.2
bind-sdb-9.3.6-4.P1.el5_4.2
bind-9.3.6-4.P1.el5_4.2 #服务器
bind-libbind-devel-9.3.6-4.P1.el5_4.2
1主配置文件
/etc/named.conf
/var/named/chroot/etc/named.conf
2 正向区域文件
模板
/usr/share/doc/bind-x/sample/var/named/localhost.zone
文档位置
/var/named/chroot/var/named/test.com.zone
3 反向区域文件
启动
/etc/init.d/named start