rndc: 'reload' failed: not found

postcd

Well-Known Member
Oct 22, 2010
721
20
68
I think i need to reload list of domains's DNS zones or all DNS zones (and i assume this WHM function can be used: (WHM/DNS Functions/Set Zone Time To Live) but i also found command for one domain reload:
# /usr/sbin/rndc reload mydomain.net
WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
rndc: 'reload' failed: not found
# service named status
WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
version: 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 (Not disclosed)
CPUs found: 16
worker threads: 16
number of zones: 862
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
named (pid 12770) is running...
# head /etc/named.conf
include "/etc/rndc.key";

controls {
inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
};

options {
/* make named use port 53 for the source of all queries, to allow
* firewalls to block all ports except 53:
*/
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,237
463
Hello,

The commands in the previous post should work. Let us know if you have any additional questions.

Thank you.