0

rndc key not found help

Hi, when i check my rndc status i got the following error, why?

[root@ns1 ~]# rndc status
rndc: neither /etc/rndc.conf nor /etc/rndc.key was found
CentOS rndc (Remote Name Daemon Control) DNS Add a comment
stalkjonas
asked Mar 08 2018

Answer

0

you may missing neither rndc.conf file nor rndc.key file so you must generate it using following commands.

To generate rndc configuration use the below command and copy the output to a new /etc/rndc.conf file

rndc-confgen

To generate rndc key file

rndc-confgen -a
Add a comment
parthiban
asked Mar 12 2018
edited Oct 05 2018
Post your Answer
0

I also had the same problem.

Add a comment
JohnKlein94
asked Feb 23 2023
edited Aug 25 2023
Post your Answer