- 论坛徽章:
- 0
|
我在REDHAT LINUX 9下装了9.3.0rc4的bind,用rndc reload就出现了:
rndc: connect failed: connection refused
我的rndc.conf:
key "rndc-key" {
algorithm hmac-md5;
secret "XAocbh1P9Ghh7Ws+AzCN7w==";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf
我的rndc.key:
key "rndc-key" {
algorithm hmac-md5;
secret "XAocbh1P9Ghh7Ws+AzCN7w==";
};
我的named.conf其中一段:
# Use with the following in named.conf, adjusting the allow list as needed:
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
# End of named.conf
我怎么都不知道错在哪?所以文件都在/etc下的。当直接执行named启动后,用rndc就能stop或怎么的,但是用rndc reload就是不行,不知道哪位大侠帮帮忙啊,是不是bind 9和redhat linux 9有什么不兼容的地方啊????key都是拷贝、粘贴过去的,不可能出错啊,真的很不明白! |
|