mirror of
https://github.com/webmin/webmin.git
synced 2026-05-12 18:00:26 +01:00
Just reload the one zone
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user