Bind DNS配置可能遇到的问题

    Read

1:error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:4f8:1:2::20#53

类似这样的报错是由于开启了IPV6,关闭BIND IPV6解析请求即可SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

方法:
①:[root@localhost etc]# vi /etc/sysconfig/named
增加一行OPTIONS="-4"
②:在named.conf中注释掉


③:如果是自己编译的可以
SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

2:error (broken trust chain) resolving 'baidu.com.dlv.isc.org/DLV/IN': 199.254.63.254#53SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

类似这样的错误,可能是本地时间问题,也可能是named.conf的权限问题SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

方法:
①:如果是时间问题,[root@localhost etc]# date -s 14:54:00 [这个是百度上其他博客写到的]
②:有人说注释掉named.conf也可以? [这个也是百度上别人提到的]


③:如果是权限问题,修改named.conf的所有用户为named 命令是[root@localhost etc]# chown named named.conf SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

我使用的方法是修正named.conf的权限,即正常。SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

3:validating @0xb4771558: . DNSKEY: please check the 'trusted-keys' for '.' in named.conf.
OR
error (no valid KEY) resolving 'dlv.isc.org/DNSKEY/IN': 199.254.63.254#53SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

类似这个错误,请参考修正named.conf的权限。SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

4:Can't find server name, Non-existent domainSourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

遇到这个问题,可能是由于没有设置好正反向,参考:Non-existent domain解决方法SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

5:在配置完成辅助DNS后,修改、删除A记录等无法同步到辅助dnsSourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

辅助DNS中之前的配置是:SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

[root@localhost data]# vi /etc/named.rfc1912.zonesSourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/


6:rndc.key was found

7:refresh: failure trying master x.x.x.x#53 (source x.x.x.x#0): tsig indicates error
A:检查key,是否匹配一致。
B:查看match-clientsSourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

8:Required token %zone% not found.

SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

9:journal rollforward failed: journal out of sync with zone #活动zone导致

SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

10:the working directory is not writable


10::refused notify from non-master

11:query (cache) ‘domain/MX/IN’ denied

0 ; serial 0 是序列号,需要手工增加数字,改成1或者更大,系统才会更新相关信息,一般默认设置为年月日序列号(YYMMDDXX)格式。SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

申明:本文由BYRD原创(基于Centos6.4 X64),未经许可禁止转载!SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/ SourceByrd's Weblog-https://note.t4x.org/system/bind-dns-problems/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on August 8, 2013
  • 原文链接:https://note.t4x.org/system/bind-dns-problems/
匿名

Comment

Anonymous

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: