Chinaunix
标题:
安装主DNS时出现的问题
[打印本页]
作者:
朽木可雕
时间:
2004-06-18 15:53
标题:
安装主DNS时出现的问题
我安装完BIND 9.2.3后启动时,出现如下的错误提示,请问为何?
Jun 17 23:12:15 testhost.com named[804]: [ID 873579 daemon.notice] starting BIND 9.2.3
Jun 17 23:12:16 testhost.com named[804]: [ID 873579 daemon.notice] command channel listening on 127.0.0.1#953
Jun 17 23:12:16 testhost.com named[804]: [ID 873579 daemon.error] dns_master_load: db.com:1: no current owner name
Jun 17 23:12:16 testhost.com named[804]: [ID 873579 daemon.error] zone com/IN: loading master file db.com: no owner
作者:
網中人
时间:
2004-06-19 03:10
标题:
安装主DNS时出现的问题
不知用"no current owner name"來搜索會有發現嗎?
作者:
朽木可雕
时间:
2004-06-19 11:27
标题:
安装主DNS时出现的问题
搜索结果说SOA记录有错误。下面是我的文件:
bash-2.05# more /etc/named.conf
options {
directory "/mydns";
};
zone "com" in {
type master;
file "db.com";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
include "/etc/rndc.key";
bash-2.05# more db.com
$TTL 3h
com. IN SOA testhost.com. postmaster.testhost.com.(
2004061800 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
mail IN A 10.1.2.52
testhost.com IN A 10.1.2.52
darren.com IN A 10.1.2.43
bash-2.05# more named.local
$TTL 86400
@ IN SOA testhost.com. root.testhost.com (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS testhost.com.
1 IN PTR localhost.
bash-2.05#
作者:
網中人
时间:
2004-06-20 03:37
标题:
安装主DNS时出现的问题
SOA 那兩行:
testhost.com. ( ;補一個空白
testhost.com ( ;補一個小數點
再,關鍵要看 /var/log/messages
作者:
朽木可雕
时间:
2004-06-20 20:49
标题:
安装主DNS时出现的问题
谢谢,已经搞定。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2