If while restarting named service on the cPanel  server you get error as follows

root@test [/var/named]# service named status
WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
rndc: connect failed: 127.0.0.1#953: connection refused
named dead but pid file exists

While if you try to use /scripts/fixrndc  you get errors as follows

root@test [/var/named]# /scripts/fixrndc
Named could not be restarted, any obvious config errors should show up below this line.
No critical problems found, will attempt to regenerate keys regardless.
warn [fixrndc] /usr/sbin/rndc status failed: WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)rndc: connect failed: 127.0.0.1#953: connection refused
Creating rndc.conf
Creating /etc/rndc.key
Restarting named
warn [fixrndc] /usr/sbin/rndc status failed: WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)rndc: connect failed: 127.0.0.1#953: connection refused

You can follow these instructions to resolve the issue

root@test [/var/named]# mv /etc/init.d/named /etc/init.d/named.bak 

root@test [/var/named]# cp /etc/named.conf /etc/named.conf.bak

Now we can try to reinstall bind on the server

root@test[/var/named]# yum reinstall bind

Now verify the output of the command grep portrelease /etc/init.d/named

root@test[/var/named]# grep portrelease /etc/init.d/named
[ -x /sbin/portrelease ] && /sbin/portrelease named &>/dev/null || :

If you get output as above you may try to execute below commands

root@test[/var/named]# /etc/init.d/named stop; /etc/init.d/portreserve restart; /etc/init.d/named start; netstat -plan | grep 953 | grep named

You will see out put as below

root@test[/var/named]# /etc/init.d/named stop; /etc/init.d/portreserve restart; /etc/init.d/named start; netstat -plan | grep 953 | grep named
Stopping named: [ OK ]
Stopping portreserve:
Starting portreserve: [ OK ]
Starting named: [ OK ]
tcp       0        0        127.0.0.1:953        0.0.0.0:*        LISTEN       932/named