rndc: connect failed: connection refused

Barry Margolin barmar at alum.mit.edu
Sun Oct 17 13:26:36 UTC 2004


In article <cktpb4$2q86$1 at sf1.isc.org>,
 Greg Mathews <greg at hostingtheinter.net> wrote:

> Hi
> 
> If this isn't the right list for this I appologise now
> 
> To restart named etc I've been using the command line
> 
> /etc/rc.d/init.d/named restart

Try: rndc exec

> 
> but recently this has stopped working, ie restart will stop named but 
> doesn't restart it again
> 
> when I attempt to start named using rndc it returns the error
> 
> 'rndc: connect failed: connection refused'

Rndc works by sending a control message to named.  If named isn't 
running, there's nothing for it to connect to in order to send the 
message.  To start named you should just run named itself.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list