Re: [CentOS] rndc start fails with "rndc: connect failed: connectionrefused"

2009-11-25 Thread Christopher Chan
Neil Aggarwal wrote: >>rndc: connect failed: connection refused >> > > Here is what works for me: > > > I hope this helps, > I doubt that would help at all if BIND is not running...hence the connection refused message. The OP only ran into this when trying to do 'rndc start'. ;-) __

Re: [CentOS] rndc start fails with "rndc: connect failed: connectionrefused"

2009-11-25 Thread Neil Aggarwal
>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