dns: set ORIGIN (WIP)
This commit is contained in:
parent
d7fdfd8aa6
commit
677268a3e3
|
@ -6,6 +6,7 @@ let
|
||||||
generateZoneFile = let
|
generateZoneFile = let
|
||||||
util = dns-nix.util.${pkgs.system};
|
util = dns-nix.util.${pkgs.system};
|
||||||
in { name, ns, records, ... }: util.writeZone name (with dns-nix.lib.combinators; {
|
in { name, ns, records, ... }: util.writeZone name (with dns-nix.lib.combinators; {
|
||||||
|
ORIGIN = "${name}.";
|
||||||
TTL = 60*60;
|
TTL = 60*60;
|
||||||
SOA = {
|
SOA = {
|
||||||
nameServer = "${lib.dns.ns}.";
|
nameServer = "${lib.dns.ns}.";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user