- 论坛徽章:
- 0
|
运行/etc/rc.d/named 错误信息如下:
Mar...日期..freebsd62 named[708]:none:0: open:/etc/namedb/rndc.key:file not found
Mar...日期..freebsd62 named[708]:zone.fmcc.boss/in:loading master file fmcc.boss.rev:unknown class/type
我看过了,目录下没有rndc.key这个文件啊,这个文件内容是怎样的?关键是第2个错误,为什么不能加载正向地址解析文件呢,仔细看过named.conf了,应该不存在少个标点符号多个空格什么的,文件内容如下:
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "master/localhost.rev";
};
zone "fmcc.boss" {
type master;
file "fmcc.boss.rev";
};
zone "253.198.10.IN-ADDR.ARPA." {
type master;
file "10.198.253.rev";
};
错误在哪里呢?我是新手,恳请各位不吝指教
[ 本帖最后由 linca 于 2007-3-20 10:44 编辑 ] |
|