LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-21-2005, 08:34 AM   #1
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: RHEL, CentOS, Debian, Gentoo, Knoppix & DSL
Posts: 126

Rep: Reputation: 15
BIND9 Blues


OK, I installed BIND9 on my server to act as a caching nameserver for my LAN and it works GREAT. Having a local DNS cuts web page loading greatly.

So, it's been a couple weeks and I want to update my root database and view the cache, so I start with a simple dig @a.root-servers.net > db.root and all is good. The cache is updated. So, I type in rndc reload and I get the error:

rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.


So, I go on the web and find some hints about how to fix this, but they only deal with older versions of bind. Even one dated May of last year doesn't work.

Can anyone help out here? My 3 config files follow my sig (edited for length).

Thanks in advance,

v/r
RK


*********************
/etc/bind/named.conf
*********************
#Contains Forwarder option to router
include "/etc/bind/named.conf.options";

include "/etc/bind/rndc.key";

controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};

zone "." {
type hint;
file "/etc/bind/db.root";
};

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local"; #Empty config

*******************
/etc/bind/rndc.conf
*******************

include "/etc/bind/rndc.key";

options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};

*******************
/etc/bind/rndc.key
*******************

key "rndc-key" {
algorithm hmac-md5;
secret "ZRS8BtmhV8DwX01wZRL4iA==";
};
 
Old 04-21-2005, 11:53 AM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
I have my include /etc/rndc.key commented out.
 
  


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
ipf and bind9 Fredstar *BSD 0 09-04-2005 09:52 PM
Bind9 help!! Fredstar Linux - Newbie 10 08-30-2005 09:47 PM
BIND9.2.4 and IPv6 silvercloud Linux - Networking 0 08-13-2005 01:38 AM
Bind9 tandre Linux - Software 1 04-08-2003 09:29 AM
bind9 unixkid Linux - Networking 3 08-30-2002 02:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration