diff --git a/bind8/CHANGELOG b/bind8/CHANGELOG index 8bd2f5a31..665e64e3c 100644 --- a/bind8/CHANGELOG +++ b/bind8/CHANGELOG @@ -129,3 +129,4 @@ IPv6 addresses can now be used for remote nameservers in slave and delegation zo Added the Test Zone Transfer button to the slave zone page, to check if zone transfers are possible or not. ---- Changes since 1.550 ---- Links for editing and deleting records now using the record name instead of an index, which makes editing more reliable if records are also being updated by dynamic DNS or some other tool. +When a zone is reloaded, it is now frozed first and then thawed afterwards with the rndc command, to better support dynamic DNS. diff --git a/bind8/bind8-lib.pl b/bind8/bind8-lib.pl index bf69151a1..93878da8e 100755 --- a/bind8/bind8-lib.pl +++ b/bind8/bind8-lib.pl @@ -1911,15 +1911,23 @@ return undef; sub restart_zone { local ($dom, $view) = @_; -local $out; +local ($out, $ex); if ($view) { # Reload a zone in a view + &try_cmd("freeze ".quotemeta($dom)." IN ".quotemeta($view). + " 2>&1 &1 &1 &1 &1 &1 ".&html_escape($out).""); } &refresh_nscd();