BIND 9.2 无named.conf 问题
服务器 :fedora core release 6(zod)kernel 2.6.18-1.2798.fc6 on an i686
软件名称以及版本:BIND 9.3.2
我在安装系统的时候默认安装dns named服务。和文本互联网和开发工具,开发工具库。。可是我在/etc/named.conf找不到,,找不到named.conf意味着配置不了dns
ls named.
named.caching-nameserver.confnamed.rfc1912.zones
# rpm -qa | grep bind
bind-9.3.2-41.fc6
ypbind-1.19-5
bind-utils-9.3.2-41.fc6
bind-chroot-9.3.2-41.fc6
bind-libs-9.3.2-41.fc6
我也按照帖子上照着安装了 caching
# rpm -qa | grep caching-nameserver
caching-nameserver-9.3.2-41.fc6
named.rfg1912.zone是干什么用的
# cat named.rfc1912.zones
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
我在/usr/share/doc/bind找不到关于named.rfc1912.zone地说明 装一个摸板caching-nameserver root@localhost etc]# rpm -qa | grep caching-nameserver
caching-nameserver-9.3.2-41.fc6
已经有了 安装了 bind-chroot 后,bind 的配置文件被移动到了 /var/named/chroot/ 下面。其他的都是链接。 我也遇到了和楼主一样的问题,我当时正想学配置BIND,可却遇到了这么一个郁闷的问题,哎,希望高手能给出答案。
页:
[1]