AMP AMP
AMP
0
AMP

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
a sample image
stalkjonas
asked Mar 08 2018

Answer

AMP
0
AMP

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
a sample image
parthiban
asked Mar 12 2018
edited Oct 05 2018
Post your Answer
AMP
0
AMP

I also had the same problem.

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