summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/surtr/dns/default.nix4
-rw-r--r--hosts/surtr/dns/zones/org.rheperire.soa4
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.