[CentOS] rndc start fails with "rndc: connect failed: connectionrefused"
Neil Aggarwal
neil at JAMMConsulting.com
Thu Nov 26 02:48:58 UTC 2009
> 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
More information about the CentOS
mailing list