diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-22 12:11:15 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-22 12:11:15 +0100 |
commit | 35810e64a688c985dda7537f1253f63960e9fd42 (patch) | |
tree | 3ae996612f43451cada8c5224af5b13767f11509 /hosts | |
parent | ca65fc1fe60952a863ac71455796c7ad6ef06370 (diff) | |
download | nixos-35810e64a688c985dda7537f1253f63960e9fd42.tar nixos-35810e64a688c985dda7537f1253f63960e9fd42.tar.gz nixos-35810e64a688c985dda7537f1253f63960e9fd42.tar.bz2 nixos-35810e64a688c985dda7537f1253f63960e9fd42.tar.xz nixos-35810e64a688c985dda7537f1253f63960e9fd42.zip |
...
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/surtr/dns/default.nix | 4 | ||||
-rw-r--r-- | hosts/surtr/dns/zones/org.rheperire.soa | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix index 18a47932..4c8a7d98 100644 --- a/hosts/surtr/dns/default.nix +++ b/hosts/surtr/dns/default.nix | |||
@@ -7,8 +7,8 @@ let | |||
7 | reverseDomain = concatStringsSep "." (reverseList (["_acme-challenge"] ++ splitString "." domain)); | 7 | reverseDomain = concatStringsSep "." (reverseList (["_acme-challenge"] ++ splitString "." domain)); |
8 | in pkgs.writeText "${reverseDomain}.zone" '' | 8 | in pkgs.writeText "${reverseDomain}.zone" '' |
9 | $ORIGIN _acme-challenge.${domain}. | 9 | $ORIGIN _acme-challenge.${domain}. |
10 | @ 3600 IN SOA _acme-challenge.${domain}. root.yggdrasil.li. 2022022102 7200 3600 86400 300 | 10 | $TTL 3600 |
11 | $TTL 300 | 11 | @ IN SOA ns.yggdrasil.li. root.yggdrasil.li. 2022022102 7200 3600 86400 300 |
12 | 12 | ||
13 | IN NS ns.yggdrasil.li. | 13 | IN NS ns.yggdrasil.li. |
14 | ''; | 14 | ''; |
diff --git a/hosts/surtr/dns/zones/org.rheperire.soa b/hosts/surtr/dns/zones/org.rheperire.soa index 5c80d806..f8d6f323 100644 --- a/hosts/surtr/dns/zones/org.rheperire.soa +++ b/hosts/surtr/dns/zones/org.rheperire.soa | |||
@@ -1,7 +1,7 @@ | |||
1 | $ORIGIN rheperire.org. | 1 | $ORIGIN rheperire.org. |
2 | $TTL 3600 | 2 | $TTL 3600 |
3 | @ IN SOA ns.yggdrasil.li. root.yggdrasil.li. ( | 3 | @ IN SOA ns.yggdrasil.li. root.yggdrasil.li. ( |
4 | 2022022200 ; serial | 4 | 2022022201 ; serial |
5 | 10800 ; refresh | 5 | 10800 ; refresh |
6 | 3600 ; retry | 6 | 3600 ; retry |
7 | 604800 ; expire | 7 | 604800 ; expire |
@@ -24,5 +24,3 @@ $TTL 3600 | |||
24 | * IN AAAA 2a03:4000:6:d004:: | 24 | * IN AAAA 2a03:4000:6:d004:: |
25 | * IN MX 0 ymir.yggdrasil.li. | 25 | * IN MX 0 ymir.yggdrasil.li. |
26 | * IN TXT "v=spf1 redirect=yggdrasil.li" | 26 | * IN TXT "v=spf1 redirect=yggdrasil.li" |
27 | |||
28 | _acme-challenge IN NS ns.yggdrasil.li. | ||