rndc: connect failed: connection refused?

5 posts / 0 new
Last post
#1 Wed, 03/03/2010 - 10:41

rndc: connect failed: connection refused?


when I do 'rndc status' or try to update a zone file through webmin I get the following error message

rndc: connect failed: connection refused

I have two virtpro servers. First one did it then the other even though all i did was restart bind. otherwise no error messages.

i've been searching on google for a couple of hours and everyone keeps saying its a permissions issue. which permission? I have checked everything in the bind directory against another copy of debian/bind and they are the same.


Wed, 03/03/2010 - 13:49

You may need to take a peek in your error logs -- if you restart BIND, then look in /var/log/syslog, see if any problems show up in there.

Also, what are the contents of /etc/bind/named.conf.options?


Thu, 03/04/2010 - 08:48


I fixed this problem by running the 'Setup RNDC' command from Server -> BIND DNS Server -> Setup RNDC

It added this to my named.conf

include "/etc/bind/named.conf.local";
key rndc-key {
        algorithm hmac-md5;
        secret "/RketiReUTVAZEmslJcFZQ==";
controls {
        inet port 953 allow {; } keys { rndc-key; };



Mon, 08/06/2012 - 08:02

Редко попадается публикации на эту тему. Ждем продолжения...

Thu, 02/26/2015 - 13:32

Had the same issue, Webmin+Virtualmin, I've just opened into firewall UDP port 953 for destination localhost.

Topic locked