rdnc error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

I noticed in my logwatch file I have an error with my rndc key.  I could
'play' around with it and may fix it but most likey just hose things up.  I
think I see the problem but not 100% sure.  I think the key file has 3
different names.

Here's the error:

**Unmatched Entries**
   /etc/named.conf:23: couldn't find key 'rndckey' for use with command
channel 127.0.0.1#953: 1 Time(s)

Here's parts of the relevant files:

named.conf: 

controls {
	inet 127.0.0.1 allow { localhost; } keys { rndckey; };

include "/etc/rndc.key"; <-- does not match above
--------------------------------------------------------------

rdnc.conf:

options {
        default-server  localhost;
        default-key     "rndckey";
};

server localhost {
        key     "rndckey";
};

key "rndckey" {
        algorithm       hmac-md5;
        secret "xxxxxxxxxxxxxxxxxxxxx";
};
----------------------------------------------------------------

rdnc.key:

key "rndc-key" {    <----- yet another name for the key
	algorithm hmac-md5;
	secret "xxxxxxxxxxxxxxxxxxxxxxx";
};
-----------------------------------------------------------------

Anyone know what the simpliest solution would be?

TIA



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux