Fixing rndc error in WHM/cPanel
(ndc: connection failed: connection refused)
To get your name servers working, you will need to eliminate this error, it
is quite a simple fix and can be completed in a few minutes via the
standard cPanel /scripts
1. Login to your server as root via SSH
2. Run:
3. Run:
If not fixed then.
1. Login to your server as root via SSH
2. Run: vi /etc/rndc.conf
replace all instances of “rndc-key” with “rndckey”
3. Run: vi /etc/named.conf
replace all instances of “rndc-key” with “rndckey”
4. Run:
5. Run:
6. If you received an error in the last step, run /scripts/fixndc another
time.
7. Restart named.
Leave a Reply
You must be logged in to post a comment.