rndc: connect failed....

Chan Chung Hang Christopher christopher.chan at bradbury.edu.hk
Sat Jun 5 02:54:58 UTC 2010

hans schneidhofer wrote:
> hi,
> got a problem with bind.
> rndc: connect failed: connection refused
> am not amused about, because have generated the key with rndc-confgen > 
> /etc/rndc.conf -file
> have done a copy of the last subsection for "named.conf" to even this 
> file and now i´m confused :--( about

I am. :P

> does anyone have an idea, wht´s going wrong here ? resp. where I have to 
> look ?

Your named.conf should have a line like below:

include "/etc/bind/named.conf.options";

You should stick your key in that file and make sure that the control 
port is enabled.

At least, this is what I have on a Hardy box. Not sure if they have made 
any changes to the file layout.

More information about the ubuntu-users mailing list