域名服务器老是报以下错,兄弟帮我看一看急

你先看看这个 好吗  不行再说

Dns配置的几点说明 (付 例子)
redhat linux 7.1 下安装 dns
这里我用一组内部域名来举例
wpp.domain.cxm(区别 com) 200.100.100.1
mail.domain.cxm 200.100.100.1

/etc/resolv.conf
-----------------------------------
search domain.cxm
nameserver 200.100.100.1
nameserver 202.100.4.15(本地电信局dns )
nameserver 202.100.0.63
-------------------------


/etc/host.conf
-------------------------------
order hosts, bind
multi on
-------------------------------

named 的重要配置文件
/etc/named.conf
--------------------------------
// generated by named-bootconf.pl

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.ca";
};

//zone "localhost" IN {
// type master;
// file "localhost.zone";
// allow-update { none; };
//};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
};
zone "domain.cxm" IN {
type master;
file "named.hosts";
};

zone "100.100.200.in-addr.arpa" IN {
type master;
file "named.rev";
};

在 /var/named 目录下创建并修改 named.local named.hosts named.rev
要特别注意细节地方的修改 比如说: “(” “;” 和域名末尾的“.”
named.local
-------------------------------
$TTL 86400
@ IN SOA wpp.domain.cxm. hostmaster.wpp.domain.cxm. (
1 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS wpp.domain.cxm.
# IN NS mail.domain.cxm.
1 IN PTR localhost.
-------------------------------------------------------------

named.hosts(正向域名数据转换文件)
---------------------------------------------------
$TTL 86400
@ IN SOA wpp.domain.cxm. hostmaster.wpp.domain.cxm. (
16 ;serial
86400 ;refreshnce per day
3600 ;retry: one hour
3600000 ;expire:42 days
604800 ;minimum:1 week

)
IN NS wpp.domain.cxm.
# IN NS mail.domain.cxm.
;
;local mail is distributed on wpp
IN MX 0 mail.domain.cxm.

;
;loopback address
localhost IN A 127.0.0.1
;brewery Ethernet
wpp IN A 200.100.100.1
news IN CNAME wpp
mail IN A 200.100.100.1
npukinva IN A 200.100.100.100


named.rev(反向域名数据转换文件)
----------------------------------------------------
$TTL 86400
@ IN SOA wpp.domain.cxm. hostmaster.wpp.domain.cxm. (
16 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ; Minimum
)
IN NS wpp.domain.cxm.
# IN NS mail.domain.cxm.
IN MX 5 mail.wpp.domain.cxm.
IN PTR domain.cxm.
1 IN PTR domain.cxm.
1 IN PTR wpp.domain.cxm.
1 IN PTR mail.domain.cxm.
100 IN PTR npukinva.domain.cxm.
61 IN PTR testcomputer.domain.cxm.
---------------------------------------------------------

最后用 nslookup 命令来检测 这里不再赘述了
如果出项正向或者反向解析错误
可以通过看日至文件来判断和更改

/var/log/cat messages

本人水平有限写本文想让大家来参考,其中肯定有不足之处,还请同志们
指出,以便大家共同进步。
这里还要感谢站长们 和很多前辈的支持!
祝linux得坚刚爱好者们好运


__________________
感谢大家的帮助!      
用named-checkconf和named-checkzone去检查你的config和zone文件,named启动ok并不代表config和zone文件没错,没错再说。      
我去试一试