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:

/scripts/updatenow

3. Run:

/scripts/fixndc

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:

/scripts/fixnamed

5. Run:

/scripts/fixndc

6. If you received an error in the last step, run /scripts/fixndc another
time.
7. Restart named.

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.