最近研究在Linux下健一DNS个缓存服务器,我选择了一台淘汰的服务器作为测试,我的系统环境为:
1、OS=Linux 5.1 ,版本=Linux fabuapp103 2.6.18-53.el5PAE #1 SMP Wed Oct 10 16:48:18 EDT 2007 i686 i686 i386 GNU/Linux,
2、 系统所安装的数据包
rpm -qa|grep bind
bind-chroot-9.3.3-10.el5
bind-libs-9.3.3-10.el5
ypbind-1.19-8.el5
bind-utils-9.3.3-10.el5
bind-9.3.3-10.el5
caching-nameserver-9.3.3-10.el5 缓存服务器所需要的
3、系统的配置文件
首先在/var/named/chroot/etc目录下使用命令建立配置文件named.conf
cp -p named.caching-nameserver.conf named.conf
文件内容如下(添加注释):
[root@fabuapp103 etc]# cat named.conf
//
// named.caching-nameserver.conf