From 82759475c2ae5bcffdabda1f7560bbee40de962d Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Wed, 11 Sep 2019 21:46:45 -0700 Subject: [PATCH] Just reload the one zone --- webmin/letsencrypt-cleanup.pl | 2 +- webmin/letsencrypt-dns.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webmin/letsencrypt-cleanup.pl b/webmin/letsencrypt-cleanup.pl index bdf358469..7a76faa84 100755 --- a/webmin/letsencrypt-cleanup.pl +++ b/webmin/letsencrypt-cleanup.pl @@ -35,6 +35,6 @@ if ($r) { &unlock_file(&bind8::make_chroot(&bind8::absolute_path($zone->{'file'}))); # Apply the change -&bind8::restart_bind(); +&restart_zone($zone->{'name'}, $zone->{'view'}); sleep(10); # Wait for DNS propagation &webmin_log("letsencryptcleanup", undef, $dname); diff --git a/webmin/letsencrypt-dns.pl b/webmin/letsencrypt-dns.pl index c5527fa6c..f1a94277f 100755 --- a/webmin/letsencrypt-dns.pl +++ b/webmin/letsencrypt-dns.pl @@ -44,7 +44,7 @@ if ($r) { &unlock_file(&bind8::make_chroot(&bind8::absolute_path($zone->{'file'}))); # Apply the change -&bind8::restart_bind(); +&restart_zone($zone->{'name'}, $zone->{'view'}); sleep(10); # Wait for DNS propagation &webmin_log("letsencryptdns", undef, $dname); exit(0);