/etc/rndc.key:1: configuring key ‘rndc-key’: bad base64 encoding

This error is due to the mismatch of the secret key in /etc/rndc.conf and the include file /etc/rndc.key. Both the keys should be the same.

After copying the secret key from the file /etc/rndc.conf to /etc/rndc.key, named can be restarted successfully.

root@host [~]# service named restart

Now named status can be checked

root@host [~]# service named status

One Response to “/etc/rndc.key:1: configuring key ‘rndc-key’: bad base64 encoding”

  1. 3steamedon 12 Jan 2022 at 10:32 pm

    1graphics…

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.