dns-signzone -> dnssec-signzone

This commit is contained in:
Charlotte 🦝 Delenk 2022-02-08 22:04:39 +01:00
parent 2f1e842fe4
commit 39fc09696e
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -15,7 +15,7 @@ in
${pkgs.coreutils}/bin/mkdir -pv /var/lib/named
# Sign the zone and write it to /var/lib/named
${pkgs.bind}/bin/dns-signzone -k /run/secrets/${keyname} -a -p -r /dev/urandom -3 $(${pkgs.coreutils}/bin/head -c 16 /dev/urandom | ${pkgs.coreutils}/bin/sha256sum | ${pkgs.coreutils}/bin/cut -b 1-32) -f /var/lib/named/${zonename} ${zoneFile}
${pkgs.bind}/bin/dnssec-signzone -k /run/secrets/${keyname} -a -p -r /dev/urandom -3 $(${pkgs.coreutils}/bin/head -c 16 /dev/urandom | ${pkgs.coreutils}/bin/sha256sum | ${pkgs.coreutils}/bin/cut -b 1-32) -f /var/lib/named/${zonename} ${zoneFile}
${pkgs.bind}/bin/rndc reload ${zonename} || true
'';
};