Linux下DNS服务器的搭建及区域委派
2012-08-22 11:34:49 来源:WEB开发网核心提示:[root@gjp99 named]# rndc reloadserver reload successful四、将被委派的主机配置: Red Hat Enterprise Linux 5.3主机IPPing 父域所在的主机IP 安装 过程与父域主机相同[root@www etc]# cp -p named.cachi
[root@gjp99 named]# rndc reload
server reload successful
四、将被委派的主机配置: Red Hat Enterprise Linux 5.3
主机IP
Ping 父域所在的主机IP
安装 过程与父域主机相同
[root@www etc]# cp -p named.caching-nameserver.conf named.conf
[root@www etc]# pwd
/var/named/chroot/etc
[root@www etc]# cat named.conf
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { any; };
match-destinations { any; };
recursion yes;
更多精彩
赞助商链接