Bind: configuring key 'ddns_key': bad base64 encoding \ bad base64 encoding
Code:
Feb 25 20:38:49 bigboy named[4593]: /etc/named.conf:99: configuring key 'ddns_key': bad base64 encoding
Feb 25 20:38:49 bigboy named[4593]: loading configuration: bad base64 encoding
The above two errors will occur when bind(named) runs for the first time, unless you generate a valid base64 string and add it to
named.conf:
Code:
# /usr/sbin/dns-keygen
H1Pl33tksEAXbEHq9rEfsVqxS7cCm8ie2W2Aa6UYTIGEGtXuhVFRGaIkjd6B
Copy the above string and update
named.conf, section
key ddns_keyas follows:
Code:
key ddns_key
{
algorithm hmac-md5;
secret "H1Pl33tksEAXbEHq9rEfsVqxS7cCm8ie2W2Aa6UYTIGEGtXuhVFRGaIkjd6B";
};