diff options
Diffstat (limited to 'modules/private/dns.nix')
-rw-r--r-- | modules/private/dns.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/private/dns.nix b/modules/private/dns.nix index ebced42..cb900ff 100644 --- a/modules/private/dns.nix +++ b/modules/private/dns.nix | |||
@@ -102,6 +102,9 @@ | |||
102 | @ IN SOA ${soa.primary}. ${builtins.replaceStrings ["@"] ["."] soa.email}. ${soa.serial} ${soa.refresh} ${soa.retry} ${soa.expire} ${soa.ttl} | 102 | @ IN SOA ${soa.primary}. ${builtins.replaceStrings ["@"] ["."] soa.email}. ${soa.serial} ${soa.refresh} ${soa.retry} ${soa.expire} ${soa.ttl} |
103 | 103 | ||
104 | ${lib.concatStringsSep "\n" (map (x: "@ IN NS ${x}.") (lib.concatMap (n: lib.attrsets.mapAttrsToList (k: v: k) ns.${n}) conf.ns))} | 104 | ${lib.concatStringsSep "\n" (map (x: "@ IN NS ${x}.") (lib.concatMap (n: lib.attrsets.mapAttrsToList (k: v: k) ns.${n}) conf.ns))} |
105 | ${lib.optionalString (conf.withCAA != null) '' | ||
106 | ${conf.name}. IN CAA 0 issue "${conf.withCAA}" | ||
107 | ''} | ||
105 | 108 | ||
106 | ${conf.entries} | 109 | ${conf.entries} |
107 | 110 | ||