Add dnssec for reverse zones

This commit is contained in:
2023-11-03 13:10:50 -07:00
parent a7ea67fedb
commit aa331b5b48
2 changed files with 26 additions and 18 deletions
+5 -3
View File
@@ -102,11 +102,13 @@ in {
inherit (domainCfg) zone;
};
}) cfg.domains;
reverseZones = concatMapAttrs (domain: domainOpts:
reverseZones = concatMapAttrs (domain:
{ ksk, zone, ... }:
listToAttrs (map (network:
reverseZonefile {
inherit domain network;
inherit (domainOpts.zone) nameservers;
inherit domain network ksk;
inherit (zone) nameservers;
keyFile = ksk.key-file;
ipHostMap = cfg.ip-host-map;
serial = cfg.timestamp;
}) domainOpts.reverse-zones)) cfg.domains;