Chinaunix

标题: rndc 命令不能用。请大家帮忙。 [打印本页]

作者: lylzgq    时间: 2007-11-01 18:02
标题: rndc 命令不能用。请大家帮忙。
我在执行rndc reload 的时候显示
[root@HY-DNS conf]# rndc reload
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,
or the key is invalid.
好像是跟 key 有关。但是我从新生成了key 也不行。
name.conf rndc.conf rndc.key 三个文件中的 secret 是不是一样呢?
作者: lylzgq    时间: 2007-11-01 19:10
在执行rndc reload 时日志显示
Nov  1 19:06:17 HY-DNS named[11475]: invalid command from 127.0.0.1#33278: bad auth
Nov  1 19:06:41 HY-DNS named[11475]: invalid command from 127.0.0.1#33279: bad auth
看样还是验证的问题。
name.conf 中
include "/usr/local/named/etc/rndc.key";
而且rndc.key 和rndc.conf 中的key 都是一样的。
作者: lylzgq    时间: 2007-11-02 10:37
已解决,还是KEY的问题。
作者: ttxx    时间: 2007-11-02 10:39
请文rndc.key这个文件怎么生成啊.我发了个帖子,你帮我看看好吗..谢谢了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2