LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-13-2011, 09:47 AM   #1
takayama
Member
 
Registered: Sep 2009
Posts: 97

Rep: Reputation: 0
Problem in bind. (centos 5.6)


Im trying to enable the logging on my bind server.


From what i have read, i need to turn it on with this command.

Quote:
rndc querylog
But then i get this 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.


I tried with this guide http://systeminteg.wordpress.com/201...x-stand-alone/ but i cant seem to be able to fix it.
Any tips?
 
Old 08-13-2011, 11:17 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Looks like you've changed the original key in rndc.key, during your configuration. It's the line
Quote:
secret "v03a9FPqIihkB/Hdg5ke1Q==";
So either restore the old key, or stop and start named again, so it reads the new key.
If you can't stop it using "service named stop" you have to kill it

Regards
 
  


Reply



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
bind not working in centos baronobeefdip Linux - Server 4 07-30-2011 03:35 AM
Help with BIND setup on Centos 5.4 codenjanod Linux - Networking 14 02-11-2010 05:36 AM
CentOS BIND CHROOT problem. bentman78 Linux - Networking 3 04-30-2009 01:39 PM
Bind 9.3.4 and Centos GGlinux Linux - Newbie 2 01-18-2009 07:57 PM
Problems with BIND on CentOS 5.1 ostashenp Linux - Networking 2 03-04-2008 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:34 PM.

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
Open Source Consulting | Domain Registration