Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-21-2005, 08:34 AM   #1
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 > 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,


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

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

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

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

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

zone "" {
type master;
file "/etc/bind/db.127";

zone "" {
type master;
file "/etc/bind/db.0";

zone "" {
type master;
file "/etc/bind/db.255";

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


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

options {
default-key "rndc-key";
default-port 953;


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

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


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 > Forums > Linux Forums > Linux - Distributions > Debian

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

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