From 93e8c64b3dfde61024bdd77cd57b6af9c96de2c5 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 21 May 2022 13:59:07 -0400 Subject: Update bind script --- config/dns.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') diff --git a/config/dns.nix b/config/dns.nix index aa36998..893c5c7 100644 --- a/config/dns.nix +++ b/config/dns.nix @@ -90,6 +90,8 @@ in preStart = lib.mkAfter '' #rm /var/run/named/*.jnl || true #rm /var/run/named/*.jbk || true + echo "Clean bind journals" + ${pkgs.bind}/bin/rndc -k /etc/bind/rndc.key sync -clean echo "Copy zone files" for z in ${zone-files}/*; do if [[ $z =~ .*dynamic.* && -e "/var/run/named/$(basename $z)" ]]; then -- cgit v1.2.3