summaryrefslogtreecommitdiff
path: root/hosts/surtr/dns/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr/dns/default.nix')
-rw-r--r--hosts/surtr/dns/default.nix46
1 files changed, 27 insertions, 19 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix
index 52a498c5..1fbfc80f 100644
--- a/hosts/surtr/dns/default.nix
+++ b/hosts/surtr/dns/default.nix
@@ -26,8 +26,17 @@
26 listen: 202.61.241.61@53 26 listen: 202.61.241.61@53
27 listen: 2a03:4000:52:ada::@53 27 listen: 2a03:4000:52:ada::@53
28 28
29 template: 29 remote:
30 - id: default 30 - id: inwx
31 address: 185.181.104.96@53
32
33 acl:
34 - id: inwx_acl
35 address: 185.181.104.96
36 action: transfer
37
38 template:
39 - id: inwx_zone
31 storage: /var/lib/knot 40 storage: /var/lib/knot
32 zonefile-sync: -1 41 zonefile-sync: -1
33 zonefile-load: difference-no-serial 42 zonefile-load: difference-no-serial
@@ -43,38 +52,37 @@
43 zsk-size: 2048 52 zsk-size: 2048
44 zsk-lifetime: 30d 53 zsk-lifetime: 30d
45 54
46 remote:
47 - id: inwx
48 address: 185.181.104.96@53
49
50 acl:
51 - id: inwx_acl
52 address: 185.181.104.96
53 action: transfer
54
55 zone: 55 zone:
56 - domain: yggdrasil.li 56 - template: inwx_zone
57 domain: yggdrasil.li
57 file: ${./zones/li.yggdrasil.soa} 58 file: ${./zones/li.yggdrasil.soa}
58 zone: 59 zone:
59 - domain: nights.email 60 - template: inwx_zone
61 domain: nights.email
60 file: ${./zones/email.nights.soa} 62 file: ${./zones/email.nights.soa}
61 zone: 63 zone:
62 - domain: 141.li 64 - template: inwx_zone
65 domain: 141.li
63 file: ${./zones/li.141.soa} 66 file: ${./zones/li.141.soa}
64 zone: 67 zone:
65 - domain: kleen.li 68 - template: inwx_zone
69 domain: kleen.li
66 file: ${./zones/li.kleen.soa} 70 file: ${./zones/li.kleen.soa}
67 zone: 71 zone:
68 - domain: xmpp.li 72 - template: inwx_zone
73 domain: xmpp.li
69 file: ${./zones/li.xmpp.soa} 74 file: ${./zones/li.xmpp.soa}
70 zone: 75 zone:
71 - domain: dirty-haskell.org 76 - template: inwx_zone
77 domain: dirty-haskell.org
72 file: ${./zones/org.dirty-haskell.soa} 78 file: ${./zones/org.dirty-haskell.soa}
73 zone: 79 zone:
74 - domain: praseodym.org 80 - template: inwx_zone
81 domain: praseodym.org
75 file: ${./zones/org.praseodym.soa} 82 file: ${./zones/org.praseodym.soa}
76 zone: 83 zone:
77 - domain: rheperire.org 84 - template: inwx_zone
85 domain: rheperire.org
78 file: ${./zones/org.rheperire.soa} 86 file: ${./zones/org.rheperire.soa}
79 ''; 87 '';
80 }; 88 };