Chinaunix

标题: rndc connection to remote host closed [打印本页]

作者: sjhf    时间: 2009-03-23 11:07
标题: rndc connection to remote host closed
               
                确保/etc/rndc.conf:
options {
        default-server localhost;
        default-key     "rndckey";
};server localhost {
        key     "rndckey";
};key "rndckey" {
        algorithm       hmac-md5;
        secret "nqa1jG7gm6Vy23SclcqDfjNHkSyNg4NQigJ3JshAf89DT7jv7NpP0wDT7Tqp";
};/etc/rndc.key:
key "rndckey" {
        algorithm       hmac-md5;
        secret "nqa1jG7gm6Vy23SclcqDfjNHkSyNg4NQigJ3JshAf89DT7jv7NpP0wDT7Tqp";
};
关键是key要相同,还有MD5也要相同 rndc-confgen > /etc/rndc.key
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/93926/showart_1872802.html




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