diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-29 17:08:37 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-29 17:08:37 +0200 |
commit | 9a2da567b1d482903a72ea22bfe8379e80698ded (patch) | |
tree | 262269f8023da7e2f6a94cf504ceb7745b7e87d1 | |
parent | 6cad93e5fbfe33bf4fdf53b5de7394cf4ab25cf8 (diff) | |
download | nixos-9a2da567b1d482903a72ea22bfe8379e80698ded.tar nixos-9a2da567b1d482903a72ea22bfe8379e80698ded.tar.gz nixos-9a2da567b1d482903a72ea22bfe8379e80698ded.tar.bz2 nixos-9a2da567b1d482903a72ea22bfe8379e80698ded.tar.xz nixos-9a2da567b1d482903a72ea22bfe8379e80698ded.zip |
knot@surtr: syntax
-rw-r--r-- | hosts/surtr/dns/default.nix | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix index 31c02196..ca6a2aed 100644 --- a/hosts/surtr/dns/default.nix +++ b/hosts/surtr/dns/default.nix | |||
@@ -27,23 +27,24 @@ | |||
27 | listen: 2a03:4000:52:ada::@53 | 27 | listen: 2a03:4000:52:ada::@53 |
28 | 28 | ||
29 | remote: | 29 | remote: |
30 | - id: "inwx_notify" | 30 | - id: inwx_notify |
31 | address: 185.181.104.96@53 | 31 | address: 185.181.104.96@53 |
32 | 32 | ||
33 | acl: | 33 | acl: |
34 | - id: "inwx_acl" | 34 | - id: inwx_acl |
35 | address: 185.181.104.96 | 35 | address: 185.181.104.96 |
36 | action: transfer | 36 | action: transfer |
37 | 37 | ||
38 | template: | 38 | template: |
39 | - id: "inwx_zone" | 39 | - id: inwx_zone |
40 | storage: /var/lib/knot | 40 | storage: /var/lib/knot |
41 | zonefile-sync: -1 | 41 | zonefile-sync: -1 |
42 | zonefile-load: difference-no-serial | 42 | zonefile-load: difference-no-serial |
43 | journal-content: all | ||
43 | semantic-checks: on | 44 | semantic-checks: on |
44 | dnssec-signing: on | 45 | dnssec-signing: on |
45 | notify: ["inwx_notify"] | 46 | notify: [inwx_notify] |
46 | acl: ["inwx_acl"] | 47 | acl: [inwx_acl] |
47 | 48 | ||
48 | policy: | 49 | policy: |
49 | - id: rsa | 50 | - id: rsa |
@@ -53,36 +54,36 @@ | |||
53 | zsk-lifetime: 30d | 54 | zsk-lifetime: 30d |
54 | 55 | ||
55 | zone: | 56 | zone: |
56 | - template: "inwx_zone" | 57 | - domain: yggdrasil.li |
57 | domain: yggdrasil.li | 58 | template: inwx_zone |
58 | file: ${./zones/li.yggdrasil.soa} | 59 | file: ${./zones/li.yggdrasil.soa} |
59 | zone: | 60 | |
60 | - template: "inwx_zone" | 61 | - domain: nights.email |
61 | domain: nights.email | 62 | template: inwx_zone |
62 | file: ${./zones/email.nights.soa} | 63 | file: ${./zones/email.nights.soa} |
63 | zone: | 64 | |
64 | - template: "inwx_zone" | 65 | - domain: 141.li |
65 | domain: 141.li | 66 | template: inwx_zone |
66 | file: ${./zones/li.141.soa} | 67 | file: ${./zones/li.141.soa} |
67 | zone: | 68 | |
68 | - template: "inwx_zone" | 69 | - domain: kleen.li |
69 | domain: kleen.li | 70 | template: inwx_zone |
70 | file: ${./zones/li.kleen.soa} | 71 | file: ${./zones/li.kleen.soa} |
71 | zone: | 72 | |
72 | - template: "inwx_zone" | 73 | - domain: xmpp.li |
73 | domain: xmpp.li | 74 | template: inwx_zone |
74 | file: ${./zones/li.xmpp.soa} | 75 | file: ${./zones/li.xmpp.soa} |
75 | zone: | 76 | |
76 | - template: "inwx_zone" | 77 | - domain: dirty-haskell.org |
77 | domain: dirty-haskell.org | 78 | template: inwx_zone |
78 | file: ${./zones/org.dirty-haskell.soa} | 79 | file: ${./zones/org.dirty-haskell.soa} |
79 | zone: | 80 | |
80 | - template: "inwx_zone" | 81 | - domain: praseodym.org |
81 | domain: praseodym.org | 82 | template: inwx_zone |
82 | file: ${./zones/org.praseodym.soa} | 83 | file: ${./zones/org.praseodym.soa} |
83 | zone: | 84 | |
84 | - template: "inwx_zone" | 85 | - domain: rheperire.org |
85 | domain: rheperire.org | 86 | template: inwx_zone |
86 | file: ${./zones/org.rheperire.soa} | 87 | file: ${./zones/org.rheperire.soa} |
87 | ''; | 88 | ''; |
88 | }; | 89 | }; |