dns: set ORIGIN (WIP)

This commit is contained in:
Sandro - 2024-04-21 00:05:06 +02:00
parent d7fdfd8aa6
commit 677268a3e3
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ let
generateZoneFile = let
util = dns-nix.util.${pkgs.system};
in { name, ns, records, ... }: util.writeZone name (with dns-nix.lib.combinators; {
ORIGIN = "${name}.";
TTL = 60*60;
SOA = {
nameServer = "${lib.dns.ns}.";