<div dir="ltr">Thank you Stuart for your reply.<div>When I run named-checkconf seeing as below and also status shows always failed.</div><div>I have looked into the below zones and not seen any issue with those.</div><div><br></div><div>[dev][root@xtld2.usiad42 log]# named-checkconf -z /etc/named.conf<br>zone localhost.localdomain/IN: loaded serial 0<br>zone localhost/IN: loaded serial 0<br>zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0<br>zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0<br>zone 0.in-addr.arpa/IN: loaded serial 0<br>[dev][root@xtld2.usiad42 log]# service named status<br>rndc: connect failed: 127.0.0.1#953: connection refused<br>● named.service - LSB: start|stop|status|restart|try-restart|reload|force-reload DNS server<br>   Loaded: loaded (/etc/rc.d/init.d/named; bad; vendor preset: disabled)<br>   Active: failed (Result: timeout) since Fri 2021-04-09 04:49:29 UTC; 1h 15min ago<br>     Docs: man:systemd-sysv-generator(8)<br>  Process: 23987 ExecStop=/etc/rc.d/init.d/named stop (code=exited, status=1/FAILURE)<br>  Process: 1345 ExecStart=/etc/rc.d/init.d/named start (code=killed, signal=TERM)<br><br>Apr 09 05:19:38  named[1354]: generating session key for dynamic DNS<br>Apr 09 05:19:38 named[1354]: could not create /var/run/named/session.key<br>Apr 09 05:19:38 named[1354]: failed to generate session key for dynamic DNS: permi...ied<br>Apr 09 05:19:38 named[1354]: sizing zone task pool based on 583 zones<br>Apr 09 05:19:38  named[1354]: none:100: 'max-cache-size 90%' - setting to 115894MB ...MB)<br>Apr 09 05:19:39  named[1354]: none:100: 'max-cache-size 90%' - setting to 115894MB ...MB)<br>Apr 09 05:19:39  named[1354]: configuring command channel from '/etc/rndc.key'<br>Apr 09 05:19:39  named[1354]: configuring command channel from '/etc/rndc.key'<br>Apr 09 05:19:39  named[1354]: reloading configuration succeeded<br>Apr 09 05:19:39 named[1354]: zone 5.0.0.0.0.0.0.0.8.1.6.0.1.0.a.2.ip6.arpa/IN: ref...led<br>Hint: Some lines were ellipsized, use -l to show in full.<br>[dev][root@xtld2.usiad42 log]#<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 9, 2021 at 11:16 AM Stuart@registry.godaddy <Stuart@registry.godaddy> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> From: bind-users <<a href="mailto:bind-users-bounces@lists.isc.org" target="_blank">bind-users-bounces@lists.isc.org</a>> on behalf of rams <<a href="mailto:bramesh80@gmail.com" target="_blank">bramesh80@gmail.com</a>><br>
> Date: Friday, 9 April 2021 at 2:56 pm<br>
> To: bind-users <<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a>><br>
> Subject: Unable to start name<br>
<br>
> Hi  <br>
> We are using bind 9.11.28.1 on centos7.8. We have large number of zones<br>
> on disk. When we stop/start , we are not getting successful message and<br>
> seeing below error. But in log we see named is running and doing<br>
> axfr/ixfr. Do we need to add any configuration paameter to avoid below<br>
> error.<br>
> <br>
> Starting named (via systemctl):  Job for named.service failed because a timeout was exceeded. See "systemctl status named.service" and "journalctl -xe" for details<br>
<br>
You mentioned that you have a large number of zones. If there are no error<br>
messages generated by NAMED starting other than the exceeding of a timeout,<br>
it could just be the system service-start timing out.<br>
<br>
Have a look at TimeoutSec in the service unit definition:<br>
<br>
<a href="https://www.freedesktop.org/software/systemd/man/systemd.service.html#TimeoutSec=" rel="noreferrer" target="_blank">https://www.freedesktop.org/software/systemd/man/systemd.service.html#TimeoutSec=</a><br>
<br>
You may also want to try "named-checkconf -z /etc/named.conf" and see how long<br>
it takes (as this does a similar sort of validation as starting the service does).<br>
<br>
Stuart<br>
<br>
</blockquote></div>