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

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

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

Wed, 03/03/2010 - 13:49
andreychek

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

Thu, 03/04/2010 - 08:48
keyvan

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

Mon, 08/06/2012 - 08:02
toolnordhelpta

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

Thu, 02/26/2015 - 13:32
scieri

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

Topic locked