Re: rndc start fails with "rndc: connect failed: connectionrefused"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>    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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux