当前位置: 技术问答>linux和unix
配置dns时的一个rndc的问题
来源: 互联网 发布时间:2016-08-31
本文导语: named已经启动。 rndc status时说 WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf) rndc: connection to remote host closed This may indicate that * the remote server is using an older version of the comma...
named已经启动。
rndc status时说
WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
rndc: connection to remote host closed
This may indicate that
* the remote server is using an older version of the command protocol,
* this host is not authorized to connect,
* the clocks are not synchronized, or
* the key is invalid.
怎么解决呢?谢谢了
rndc status时说
WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
rndc: connection to remote host closed
This may indicate that
* the remote server is using an older version of the command protocol,
* this host is not authorized to connect,
* the clocks are not synchronized, or
* the key is invalid.
怎么解决呢?谢谢了
|
看看你的rndc.conf和rndc.key内容 看看2个文件中下面这一段是否相同
key "rndckey" {
algorithm hmac-md5;
secret "xxxxyyyy";
};
key "rndckey" {
algorithm hmac-md5;
secret "xxxxyyyy";
};