From: Michael Tremer Date: Thu, 21 May 2026 15:49:23 +0000 (+0100) Subject: update-rpzs: Reload DNS after we updated the zones X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc87ef39d6151dfb40854c96f53f032b644de749;p=ipfire-2.x.git update-rpzs: Reload DNS after we updated the zones Signed-off-by: Michael Tremer --- diff --git a/src/scripts/update-rpzs b/src/scripts/update-rpzs index 663ec2b55..51a29b305 100644 --- a/src/scripts/update-rpzs +++ b/src/scripts/update-rpzs @@ -75,6 +75,11 @@ main() { zone-sync "${ZONE_SYNC_ARGS[@]}" --primary="${primary}" "${zones[@]}" || failed=$? done + # Reload DNS if things went well + if [ ${failed} -eq 0 ]; then + /usr/local/bin/dnsctrl reload + fi + return ${failed} }