tabernack

Well-Known Member
Aug 12, 2001
103
0
316
Hi,

when I add or modify a dns zone, I get the following error:

KillDNS 0.1 (c) DarkORB Communications Inc.
adf.com -> deleted
ndc: get key definition: not found

I\'ve had the ndc: connection refused problem in the past, and all I had to do was copy the key in /etc/rndc.conf into the named.conf file and restart bind. I did that, but I now get this error.

Any idea how to fix this?
 

MichaelShanks

Well-Known Member
PartnerNOC
Aug 20, 2001
103
0
316
try

/scripts/fixndc

if that doesnt work post up the relevant lines from your named.conf and rncd.conf (both in /etc)
 

tabernack

Well-Known Member
Aug 12, 2001
103
0
316
Yeah, I\'m familiar with how to fix the:

NDC: connection refused error

but this error is slightly different. I already ran the fixndc script and ran it again and received:

[email protected] [~]# /scripts/fixndc
Found key in named.conf ..
Found controls in named.conf ..
named.conf has already been fixed!

The key\'s in my named.conf and rndc.conf match. So, I think this is a different error since the error message is slightly different:

KillDNS 0.1 (c) DarkORB Communications Inc.
asdfasdf.com -> deleted
ndc: get key definition: not found
 

MichaelShanks

Well-Known Member
PartnerNOC
Aug 20, 2001
103
0
316
put the key in rndc.conf into named.conf in appropriate place

[Edited on 12/2/01 by MichaelShanks]
 

tabernack

Well-Known Member
Aug 12, 2001
103
0
316
[quote:ad9a939f81]put the key in rndc.conf into named.conf in appropriate place

[Edited on 12/2/01 by MichaelShanks] [/quote:ad9a939f81]

already did that (read previous posts :))
 

MichaelShanks

Well-Known Member
PartnerNOC
Aug 20, 2001
103
0
316
[quote:c9114b8398]Now I got this

rndc: \'status\' is not yet implemented

What is wrong??????? :mad: [/quote:c9114b8398]

it hasn\'t been coded into rndc yet :O)

\"this is feature b and will do something later\"

Taberneck, I\'m not sure then :eek:\\

does /var/log/messages say anything?
 

tabernack

Well-Known Member
Aug 12, 2001
103
0
316
Nope, /var/log/messages doesn\'t show any entries when I get that error. This is happening on other servers now as well. Looks like adding subdomains won\'t work unless it\'s fixed.

[email protected] [~]# ndc reload
ndc: get key definition: not found
[email protected] [~]#

Same output everytime. Keys are in the right place in named.conf. Any other ideas?

Thanks :)
 

Jedito

Well-Known Member
Aug 16, 2001
46
0
306
I saw that in one of my new server.

try with:

In named.conf change:

key \"rndckey\" {

to

key \"key\" {


And in rndc.conf:

key \"rndckey\" {

to

key \"key\" {

And restart named.


I hope this help.

[Edited on 12/16/01 by Jedito]