dns: fix missing dots
This commit is contained in:
parent
e36881f687
commit
d7fdfd8aa6
|
@ -8,7 +8,7 @@ let
|
|||
in { name, ns, records, ... }: util.writeZone name (with dns-nix.lib.combinators; {
|
||||
TTL = 60*60;
|
||||
SOA = {
|
||||
nameServer = lib.dns.ns;
|
||||
nameServer = "${lib.dns.ns}.";
|
||||
adminEmail = "astro@spaceboyz.net";
|
||||
serial = lib.toInt serial;
|
||||
refresh = 60*60;
|
||||
|
@ -16,7 +16,7 @@ let
|
|||
expire = 2*60;
|
||||
minimum = 60;
|
||||
};
|
||||
NS = ns;
|
||||
NS = map (a: a+".") ns;
|
||||
subdomains = lib.foldl (a: b: lib.recursiveUpdate a b) { } (map ({ name, type, data }: {
|
||||
${name}.${type} = [ data ];
|
||||
}) records);
|
||||
|
|
Loading…
Reference in New Issue
Block a user