LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-01-2007, 07:58 PM   #1
svancouw
LQ Newbie
 
Registered: Oct 2006
Location: California
Distribution: Debian Etch
Posts: 9

Rep: Reputation: 0
bind9/rndc error upon reload


I am having a problem with Bind9 that I have been working on for some
time, and it's time to ask for help...

I have two systems, one master and one slave (both recent installs), and it is the master that is having the problem. The primary master seems to have no errors, and the zone files seem to get updated (I suspect that the problem started sometime after I last started the bind service).

Upon issuing the command /etc/init.d/bind9 reload, I get the following error:

Reloading domain name service...: bindrndc: 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.
failed!

I am fairly sure my config files are correct, but just in case the relevant portions are listed below. I did regenerate the key using rndc-confgen, but it had no effect. I did double check to make sure the key was the same for both servers in the named.conf and rndc.key files. I also checked file permissions.

Any help will be much appreciated. I've done quite a bit of research on the internet, and nothing I've found has helped. The entries listed below are the same on both servers.


Sean


#named.conf:

controls {
inet 127.0.0.1 port 953 allow { localhost; secondary_server_IP; } keys { rndc.key; };
};

allow-transfer { secondary_server_IP; };

key "rndc.key" {
algorithm hmac-md5;
secret "[code removed]";

};


#rndc.key

key "rndc.key" {
algorithm hmac-md5;
secret "[code removed]";
};
 
  


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
Bind9: NDC command failed : rndc: connect failed: connection refused Boudewijn Linux - Networking 19 01-02-2014 07:19 AM
rndc works, but rndc stats doesnt havok1977 Linux - Networking 2 04-08-2010 03:18 PM
BIND9- rndc: connect failed ; connection refused raammss Linux - Server 1 09-05-2006 09:14 AM
Tomcat reload servlet is very slow, but reload jsp is fast and good? gsbarry Programming 2 04-28-2006 09:34 PM
bind9 and rndc.conf redsky Linux - Networking 1 04-13-2005 05:59 PM


All times are GMT -5. The time now is 11:48 PM.

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