| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-06-2008, 12:32 AM
|
#1
|
|
Member
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80
Rep:
|
rndc: no key definition for name
i know it have been posted befor
but didnt help me ,
when i run #rndc status
rndc: no key definition for name 2222255555
!!!!!
WHATS WRONG ???
###########
now the name in my named.conf ,rndc.key and my rndc.conf is rndckey
and here is a port of all the files :
named.conf:
options {
directory "/conf";
pid-file "/var/run/named.pid";
statistics-file "/var/run/named.stats";
dump-file "/var/run/named.db";
# hide our "real" version number
version "[secured]";
};
controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { rndckey; };
};
key "rndckey" {
algorithm "hmac-md5";
secret "2222255555";
};
# The root nameservers
zone "." {
type hint;
file "db.rootcache";
};
# localhost - forward zone
zone "localhost" {
type master;
file "db.localhost";
notify no;
};
# localhost - inverse zone
zone "0.0.127.in-addr.arpa" {
type master;
file "db.127.0.0";
notify no;
};
#################################################
rndc.conf
#
options {
default-server 127.0.0.1;
default-key "2222255555";
};
server 127.0.0.1 {
key "2222255555";
};
key "rndckey" {
algorithm "hmac-md5";
secret "2222255555";
};
###############################################
rndc.key
# rndc.key
key "rndckey" {
algorithm hmac-md5;
secret "2222255555";
};
########
thanks
|
|
|
|
05-06-2008, 01:52 AM
|
#2
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,362
|
You should change in rndc.conf the
Quote:
|
default-key "2222255555";
|
with
Code:
default-key "rndc-key";
You can also remove (or comment) the
Quote:
server 127.0.0.1 {
key "2222255555";
};
|
as it's superfluous.
Regards
|
|
|
|
05-06-2008, 03:57 AM
|
#3
|
|
Member
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80
Original Poster
Rep:
|
SOLVED!!!
i ran this
#/usr/sbin/rndc-confgen
it got me a rndc.conf file
i copied it where i want it to be
then i ran
#rndc status *then i got those
number of zones: 2
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/1000
tcp clients: 0/100
server is up and running
ok , this rndc is making my DNS requests secured right ?
|
|
|
|
05-06-2008, 04:42 AM
|
#4
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,362
|
Quote:
|
ok , this rndc is making my DNS requests secured right ?
|
No, rndc is a utility that allows you to do some kind of administration of the named server. Read the man page for what it's used for.
Regards
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:30 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|