summaryrefslogtreecommitdiff
path: root/hosts/surtr/dns
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-24 21:20:44 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-24 21:20:44 +0100
commita3a98ec3f2ea88bafccd4a9a7a3720a7ddcd4a54 (patch)
tree81c528fa3b1001eabbab0f95f4c6ff2b0f8a4d95 /hosts/surtr/dns
parent522c8a27dbde0d337c40aa05597c43df05f5ff8f (diff)
downloadnixos-a3a98ec3f2ea88bafccd4a9a7a3720a7ddcd4a54.tar
nixos-a3a98ec3f2ea88bafccd4a9a7a3720a7ddcd4a54.tar.gz
nixos-a3a98ec3f2ea88bafccd4a9a7a3720a7ddcd4a54.tar.bz2
nixos-a3a98ec3f2ea88bafccd4a9a7a3720a7ddcd4a54.tar.xz
nixos-a3a98ec3f2ea88bafccd4a9a7a3720a7ddcd4a54.zip
surtr: synapse.li: ...
Diffstat (limited to 'hosts/surtr/dns')
-rw-r--r--hosts/surtr/dns/default.nix1
-rw-r--r--hosts/surtr/dns/zones/li.synapse.soa5
2 files changed, 5 insertions, 1 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix
index e9ae3183..13928ad2 100644
--- a/hosts/surtr/dns/default.nix
+++ b/hosts/surtr/dns/default.nix
@@ -170,6 +170,7 @@ in {
170 addACLs = { "xmpp.li" = ["ymir_acme_acl"]; }; 170 addACLs = { "xmpp.li" = ["ymir_acme_acl"]; };
171 } 171 }
172 { domain = "synapse.li"; 172 { domain = "synapse.li";
173 acmeDomains = ["element.synapse.li" "synapse.li"];
173 } 174 }
174 { domain = "dirty-haskell.org"; 175 { domain = "dirty-haskell.org";
175 addACLs = { "dirty-haskell.org" = ["ymir_acme_acl"]; }; 176 addACLs = { "dirty-haskell.org" = ["ymir_acme_acl"]; };
diff --git a/hosts/surtr/dns/zones/li.synapse.soa b/hosts/surtr/dns/zones/li.synapse.soa
index 539f0297..fc171bc2 100644
--- a/hosts/surtr/dns/zones/li.synapse.soa
+++ b/hosts/surtr/dns/zones/li.synapse.soa
@@ -1,7 +1,7 @@
1$ORIGIN synapse.li 1$ORIGIN synapse.li
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 2022022401 ; serial 4 2022022402 ; serial
5 10800 ; refresh 5 10800 ; refresh
6 3600 ; retry 6 3600 ; retry
7 604800 ; expire 7 604800 ; expire
@@ -26,4 +26,7 @@ $TTL 3600
26* IN MX 0 ymir.yggdrasil.li 26* IN MX 0 ymir.yggdrasil.li
27* IN TXT "v=spf1 redirect=yggdrasil.li" 27* IN TXT "v=spf1 redirect=yggdrasil.li"
28 28
29element IN CNAME synapse.li.
30_acme-challenge.element IN NS ns.yggdrasil.li.
31
29_acme-challenge IN NS ns.yggdrasil.li. 32_acme-challenge IN NS ns.yggdrasil.li.