LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rndc: connect failed: 127.0.0.1#953: connection refused (https://www.linuxquestions.org/questions/linux-newbie-8/rndc-connect-failed-127-0-0-1-953-connection-refused-4175580164/)

abarmyms 05-19-2016 05:30 AM

rndc: connect failed: 127.0.0.1#953: connection refused
 
Hello All,

Can someone help me with my Bind Server, I found out if i remove rndc on bind it might work, but i can't find any thread on out to do this. i am a newbie to Linux.
After configuring my Bind9, it refuses to run by giving this error msg.

WARNING: key file (/etc/bind/rndc.key) exists, but using default configuration file (/etc/bind/rndc.conf)
rndc: connect failed: 127.0.0.1#953: connection refused
root@kano-a:~#

Thanks

bathory 05-19-2016 11:33 AM

Hi,

If you want to disable rndc, use:
Code:

controls { };
in /etc/named.conf. You can also comment out any other occurrence of rndc in /etc/named.conf.

But, I don't recommend doing that.
Since rndc is handy for managing named, better configure rndc for use with bind. See this for a quick howto

Regards

abarmyms 05-27-2016 05:08 AM

Thanks bathory,

Can you guide me through the removing process as i am completely new to this.

Cheers.

bathory 05-27-2016 06:10 AM

Quote:

Originally Posted by abarmyms (Post 5551660)
Thanks bathory,

Can you guide me through the removing process as i am completely new to this.

Cheers.

From my previous post:
Quote:

If you want to disable rndc, use:

controls { };

in /etc/named.conf.
You can also comment out any other occurrence of rndc in /etc/named.conf.


All times are GMT -5. The time now is 01:11 AM.