[DNS] 求助:又是rndc connection refuse的问题

weixin_38065708 2004-09-15 05:51:57

我在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都是拷贝、粘贴过去的,不可能出错啊,真的很不明白!
...全文
44 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧