LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   rndc: get key definition: not found (https://www.linuxquestions.org/questions/linux-networking-3/rndc-get-key-definition-not-found-21625/)

Grum 05-23-2002 09:12 AM

rndc: get key definition: not found
 
I have tried to manually apply my named.conf file in bind 9. I used the new

Code:

rndc /etc/named.conf
command and I received the following error;

Code:

rndc: get key definition: not found
I seem to be stabbing around in the dark ... the man page doesn't seem to help me. Does anyone know why this might not work?

Grum

idiotboy 07-16-2002 11:28 AM

Also execute the rndc command I get an error ...
>
> [root@daxio log]# /usr/sbin/rndc reload
> rndc: get key definition: not found
>
> I have modify the line 30
>
> > key "key";
>
> to
>
> > key "rndckey";
>
> in /etc/rndc.conf and now all work fine.

Follow these steps and that should fix your problem. To summerize. You must define the keyname of your RNDC key.. the default is just key, but it should be changed to rndckey .. make sure this is changed for all occurances.. ALSO change it in the named.conf.

Also read up the "Using RNDC" section in the Official Redhat Linux Reference Guide. This will be a big help. Here's a link..
http://www.redhat.com/support/resour...wto/rhl73.html

Check it out :)


All times are GMT -5. The time now is 05:10 PM.