Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

Bind: configuring key 'ddns_key': bad base64 encoding \ bad base64 encoding
https://forum.ivorde.com/bind-configuring-key-ddns-key-bad-base64-encoding-bad-base64-encoding-t50.html
Page 1 of 1

Author:  debuser [ Thu Jan 14, 2010 8:59 am ]
Post subject:  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 updatenamed.conf, section key ddns_keyas follows:
Code:
key ddns_key
{
        algorithm hmac-md5;
        secret "H1Pl33tksEAXbEHq9rEfsVqxS7cCm8ie2W2Aa6UYTIGEGtXuhVFRGaIkjd6B";
};


Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/