named fails due to rndckey

sean darcy seandarcy at hotmail.com
Sun Nov 28 04:12:20 UTC 2004


Just upgraded to fc3, and got the released updates.

named fails:

...............
Nov 27 22:39:25 gateway named[13957]: listening on IPv4 interface eth1, 
10.10.10.252#53
Nov 27 22:39:25 gateway named[13957]: /etc/rndc.key:1: configuring key 
'rndckey': bad base64 encoding
Nov 27 22:39:25 gateway named[13957]: loading configuration: bad base64 
encoding
Nov 27 22:39:25 gateway named[13957]: exiting (due to fatal error)
............

rndc.key doesn't actually have a key:

cat rndc.key
key "rndckey" {
        algorithm       hmac-md5;
        secret "@KEY@";

The key is from the upgrade:

rpm -qif rndc.key
Name        : bind                         Relocations: (not relocatable)
Version     : 9.2.4                             Vendor: Red Hat, Inc.
Release     : 2                             Build Date: Mon 18 Oct 2004 
05:17:38 PM EDT
Install Date: Fri 26 Nov 2004 02:08:26 PM EST      Build Host: 
bugs.build.redhat.com
Group       : System Environment/Daemons    Source RPM: bind-9.2.4-2.src.rpm

Regardless of whetther  this is a bug or a feature, how do I fix this?  
Googling found  rndc-confgen but I can't figure out how this coordinates 
with named.

sean





More information about the fedora-list mailing list