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

Advertisement


DNS query tools & Network tools (Ping & Traceroute)

Bind: configuring key 'ddns_key': bad base64 encoding \ bad base64 encoding

Postby debuser » Thu Jan 14, 2010 3:59 pm

Code: Select all
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: Select all
# /usr/sbin/dns-keygen
H1Pl33tksEAXbEHq9rEfsVqxS7cCm8ie2W2Aa6UYTIGEGtXuhVFRGaIkjd6B


Copy the above string and updatenamed.conf, section key ddns_keyas follows:
Code: Select all
key ddns_key
{
        algorithm hmac-md5;
        secret "H1Pl33tksEAXbEHq9rEfsVqxS7cCm8ie2W2Aa6UYTIGEGtXuhVFRGaIkjd6B";
};

debuser
 
Posts: 70
Joined: Thu Aug 06, 2009 9:48 am


Advertisement


Return to Red Hat Certified Engineer/Technician RHCE/RHCT

Similar topics


Who is online

Users browsing this forum: No registered users and 0 guests