sameersbn / docker-bind

Dockerize BIND DNS server with webmin for DNS administration
MIT License
913 stars 333 forks source link

RNDC: connection to remote host closed error #104

Open luke-powers opened 4 years ago

luke-powers commented 4 years ago

I have a number of dns servers up using docker-bind but the last two that I've set up (after the latest build back in May 2020) I continually run into the following issue after setting up rndc for a fresh container with a new zone:

/root@dns:/# rndc flush
WARNING: key file (/etc/bind/rndc.key) exists, but using default configuration file (/etc/bind/rndc.conf)
rndc: connection to remote host closed
This may indicate that
* the remote server is using an older version of the command protocol,
* this host is not authorized to connect,
* the clocks are not synchronized,
* the key signing algorithm is incorrect, or
* the key is invalid.

This isn't a significant issue as bind can just be restarted, but wondering if there's a quick fix for it (other than reverting to an older container release).

Thanks!

mohammedmathin commented 7 months ago

Rebooting the server will solve this issue.