SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu Linux 20.04.6 |
Webmin version | 2.021 |
Virtualmin version | 7.7 |
Related packages | SUGGESTED |
I get some dns errors and mysql password sha_cache.
Can someone give me leads?
This is how command “systemctl status named.service” and named.conf looks like :
invalid command from 127.0.0.1#59359: failure
May 09 18:29:37 my.ns.tld rndc[2212834]: rndc: connection to remote host closed
May 09 18:29:37 my.ns.tld rndc[2212834]: This may indicate that
May 09 18:29:37 my.ns.tld rndc[2212834]: * the remote server is using an older version of the command protocol,
May 09 18:29:37 my.ns.tld rndc[2212834]: * this host is not authorized to connect,
May 09 18:29:37 my.ns.tld rndc[2212834]: * the clocks are not synchronized,
May 09 18:29:37 my.ns.tld rndc[2212834]: * the key signing algorithm is incorrect, or
May 09 18:29:37 my.ns.tld rndc[2212834]: * the key is invalid.
May 09 18:29:37 my.ns.tld systemd[1]: named.service: Control process exited, code=exited, status=1/FAILURE
May 09 18:29:37 my.ns.tld systemd[1]: Reload failed for BIND Domain Name Server.
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
key rndc-key {
algorithm hmac-sha256;
secret "HikMz1tP4pk8m8j4CB9eP..............";
};
controls {
inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { rndc-key; };
};