|
我的IP地址为192.168.1.56 (我用私网配DNS.)
我配了DNS服务器,可是系统启动时出现
Dec 23 18:28:20 coco named[238]:master zone "coco.com" (IN) rejected due to errors (serial 0)
Dec 23 18:28:20 coco named[238]:master zone "1.168.192.in-addr.arpa" (IN) rejected due to errors (serial 0)
请问是怎么回事?是哪里出错了.
我的named.conf 配置文件为:
zone "coco.com" {
type master;
file "coco.com.zone";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "1.168.192.in-addr.arpa.zone";
};
coco.com.zone的配置文件为:
@ IN SOA ns.coco.com.root.coco.com.com.(
0 ; Serial
259200 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS ns.coco.com.
ns IN A 192.168.1.56
www IN A 192.168.1.12
mail IN A 192.168.1.55
1.168.192.in-addr.arpa.zone的配置文件为:
@ IN SOA ns.coco.com.root.coco.com.com.(
0 ; Serial
259200 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS ns.coco.com.
56 IN RTP ns.coco.com.
12 IN RTP www.coco.com.
55 IN RTP mail.coco.com.
hosts文件为:
127.0.0.1 localhost.com localhost
192.168.1.56 coco.com coco
192.168.1.56 coco.com.
resolv.conf 文件为:
nameserver 192.168.1.56
host.conf 文件为:
bind
hosts |
|