diff options
Diffstat (limited to 'hosts/surtr/dns/default.nix')
-rw-r--r-- | hosts/surtr/dns/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix index b5be6887..5f69c350 100644 --- a/hosts/surtr/dns/default.nix +++ b/hosts/surtr/dns/default.nix | |||
@@ -6,7 +6,7 @@ let | |||
6 | acmeChallengeZonefile = domain: let | 6 | acmeChallengeZonefile = domain: 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 ${domain}. | 9 | $ORIGIN _acme-challenge.${domain}. |
10 | @ 3600 IN SOA _acme-challenge.${domain}. root.yggdrasil.li. 2022022102 7200 3600 86400 300 | 10 | @ 3600 IN SOA _acme-challenge.${domain}. root.yggdrasil.li. 2022022102 7200 3600 86400 300 |
11 | $TTL 300 | 11 | $TTL 300 |
12 | 12 | ||