期望' trust-anchor'安装时出现错误消息在Centos 5.9上绑定DNS服务器

时间:2013-12-29 09:53:17

标签: linux dns bind centos5

我是在使用Centos 5.9操作系统在VPS上安装DNS服务器,我已经从这个网站一步一步地跟踪https://www.digitalocean.com/community/articles/how-to-install-the-bind-dns-server-on-centos-6

当我尝试使用以下命令重启服务时

    service named restart 

出现以下错误:

Stopping named: [ OK ] 
Starting named: 
Error in named configuration:

/etc/named.conf:23: unknown option 'dnssec-validation' 
/etc/named.conf:24: expected 'trust-anchor' near ';'

解决这个问题的任何解决方案?非常感谢你。

1 个答案:

答案 0 :(得分:1)

最后我删除了这些行:

dnssec-validation yes;
dnssec-lookaside auto;

并将其替换为:

dnssec-lookaside . trust-anchor dlv.isc.org.;