rndc: the key is invalid
Problem: ——— Issue: ——— While starting named, or when running /etc/rc.d/init.d/named status, you get the following error: 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, or the key is invalid. Solution: ——- Fix: ——- Run rndc-confgen. running rndc-confgen would ouput something like this: # Start of rndc.conf key “rndc-key” { algorithm hmac-md5; secret “lYzcmf255w8BC6PHTSYCQA==”; }; options { default-key “rndc-key”; […]
Read MoreCpanel DNS on Freebsd: named or rndc does not exist
Problem: Cpanel on FreeBSD shows the error that named or rndc does not exist after a cpanel update. Solution: server1# ln -s /usr/local/sbin/named /usr/sbin/named
Read More