LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem in bind. (centos 5.6) (https://www.linuxquestions.org/questions/linux-networking-3/problem-in-bind-centos-5-6-a-897120/)

takayama 08-13-2011 09:47 AM

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?

bathory 08-13-2011 11:17 AM

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


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