FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 11-26-2009, 01:48 AM
"Neil Aggarwal"
Default rndc start fails with "rndc: connect failed: connectionrefused"

> 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 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

Thread Tools

All times are GMT. The time now is 10:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org