Just reload the one zone

This commit is contained in:
Jamie Cameron
2019-09-11 21:46:45 -07:00
parent 64d60374ad
commit 82759475c2
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);