rndc: connect failed: 127.0.0.1#953: connection refused?

Hi,

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

rndc: connect failed: 127.0.0.1#953: 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.

Keyvan

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?

-Eric

Hi

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 127.0.0.1 port 953 allow { 127.0.0.1; } keys { rndc-key; }; };

Regards,

Keyvan

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

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