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.


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?



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



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

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