LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-29-2003, 03:03 AM   #1
forkvoid
LQ Newbie
 
Registered: Nov 2001
Location: Phoenix, Arizona, USA
Distribution: Debian
Posts: 19

Rep: Reputation: 0
rndc: no key definition for name rncd.key


Using BIND 9.2.2 on Slackware 9.


Code:
# Excerpts from named.conf

key "rndc.key" {
        algorithm hmac-md5;
        secret "1zg8/qcbv2ihptplTr2Av+Q==";
};

controls {
        inet 127.0.0.1 allow { localhost; } keys { rndc.key; };
};
Code:
# rndc.conf

options {
  default-server  localhost;
  default-key     "rncd.key";
};
key "rndc.key" {
  algorithm hmac-md5;
  secret "zg8/qcbv2ihptplTr2Av+Q==";
};
Code:
# rndc.key
key "rndc-key" {
        algorithm hmac-md5;
        secret "zg8/qcbv2ihptplTr2Av+Q==";
};
I've been reading a doc at http://www.redhat.com/docs/manuals/l...ind-rndc.html, which was telling me how to get this working. As far as I can see, it's perfectly fine, but obviously that's not the case. Anyone have any ideas?
 
Old 12-29-2003, 06:54 AM   #2
suchi
Member
 
Registered: Nov 2003
Location: india
Posts: 46
Blog Entries: 1

Rep: Reputation: 15
check out the rndc key entries in key "rndc.key" section and rndc.conf section, both differ with a single digit "1" in the beginning. You can use rndc-confgen command and append the lines to the end of named.conf and rndc.conf files also. Well, just see whether it works with you version of the os. I had the same problem.
 
Old 12-29-2003, 03:40 PM   #3
forkvoid
LQ Newbie
 
Registered: Nov 2001
Location: Phoenix, Arizona, USA
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: 0
Oh, sorry. I actually added that '1' myself, to see if it would give a different error than the one it was giving(it didn't). So the error I said in my first post is with and without that '1' in the beginning of the key.

I am trying what you said with the rndc-confgen now, but it's giving me Connection Refused. I'm going to play around with it a bit more and see if I can get it to give me something different...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up Bind and rndc.key on Fedora Core 2 hookooekoo Fedora 2 04-07-2010 12:28 AM
rndc: no key definition stand Linux - Networking 1 11-30-2002 07:31 AM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM
rndc: get key definition: not found Grum Linux - Networking 1 07-16-2002 11:28 AM
rndc: get key definition: not found error Grum Linux - General 1 05-24-2002 09:48 PM


All times are GMT -5. The time now is 06:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration