rndc: 'reload' failed: not found
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: */
# 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: */
-
use rndc reload mydomain.net in internal & rndc reload mydomain.net in external 0 -
Hello, The commands in the previous post should work. Let us know if you have any additional questions. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments