Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Fri Dec 09, 2016 6:45 pm


Red Hat Certified Engineer/Technician RHCE/RHCT topics and questions

Author Message
debuser
Post  Post subject: Bind: configuring key 'ddns_key': bad base64 encoding \ bad base64 encoding  |  Posted: Thu Jan 14, 2010 8:59 am

Joined: Thu Aug 06, 2009 2:48 am
Posts: 105

Offline
 

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";
};






Top
Display posts from previous:  Sort by  
Print view
Who is online
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO