>    rndc: connect failed: connection refused

Here is what works for me:

cd /var/named/chroot/etc
rndc-confgen > rndc.key
chown root.named rndc.key

vi rndc.key and remove everything except the key section.

vi /var/named/chroot/etc/named.conf and 
copy the rndckey from /var/named/chroot/etc/rndc.key
into this section

key "rndckey" {
        algorithm hmac-md5;
        secret "[RNDC key]";
};

I hope this helps,
        Neil

--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
CentOS 5.4 VPS with unmetered bandwidth only $25/month!
7 day free trial, Google Checkout accepted

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to