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

  • keyvan
  • 07/16/09
  • Offline
Posted: Wed, 2010-03-03 10:41

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

  • andreychek
  • 01/04/09
  • Offline
  • Wed, 2010-03-03 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?

-Eric


Hi I fixed this problem by

  • keyvan
  • 07/16/09
  • Offline
  • Thu, 2010-03-04 08:48

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


Редко попадается публикации

  • toolnordhelpta
  • 08/06/12
  • Offline
  • Mon, 2012-08-06 07:02

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