adding zone forwards without restart

Tony Finch dot at dotat.at
Wed Sep 21 08:53:43 UTC 2016


Frank Even <lists+isc.org at elitists.org> wrote:

> Is there a way to add forwarders for specific zones without a restart?
> Everything I've read seems to indicate an "rndc reconfig" or an "rndc
> reload" should take care of this, but they do not.  I add forwarders to
> "named.conf" and neither will load the new forwarded zone until I do a full
> daemon restart.

I bet you are running chrooted, and you are editing named.conf outside the
chroot, and the restart script copies it into the chroot.

You need to find a way to run the copy independently of restarting the
daemon.

Maybe there is something like `systemctl reload named.service` which does
a graceful reload ... but, looking at the srpm I think you might have to
run `/usr/libexec/setup-named-chroot.sh /var/named/chroot on`. OBVIOUSLY.

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
Trafalgar: North or northwest 4 or 5. Moderate or rough. Fair. Good.


More information about the bind-users mailing list