diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-08 23:37:26 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-08 23:37:26 +0200 |
commit | 0effcb96a33d83171e79fcc76fa3b8c9b413f225 (patch) | |
tree | 38f4dd9623cf98d7d65ab8bb599d49f9401a5542 /hosts/surtr/dns/default.nix | |
parent | 28b4b609f9f8a06f892584331089693503da20c1 (diff) | |
download | nixos-0effcb96a33d83171e79fcc76fa3b8c9b413f225.tar nixos-0effcb96a33d83171e79fcc76fa3b8c9b413f225.tar.gz nixos-0effcb96a33d83171e79fcc76fa3b8c9b413f225.tar.bz2 nixos-0effcb96a33d83171e79fcc76fa3b8c9b413f225.tar.xz nixos-0effcb96a33d83171e79fcc76fa3b8c9b413f225.zip |
surtr: ...
Diffstat (limited to 'hosts/surtr/dns/default.nix')
-rw-r--r-- | hosts/surtr/dns/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix index be72a092..e1c24936 100644 --- a/hosts/surtr/dns/default.nix +++ b/hosts/surtr/dns/default.nix | |||
@@ -243,7 +243,27 @@ in { | |||
243 | 243 | ||
244 | rrset-roundrobin = true; | 244 | rrset-roundrobin = true; |
245 | use-caps-for-id = true; | 245 | use-caps-for-id = true; |
246 | |||
247 | do-not-query-localhost = false; | ||
248 | local-zone = [ | ||
249 | "141.10.in-addr.arpa. transparent" | ||
250 | "1.0.0.0.a.d.a.0.2.5.0.0.0.0.0.4.3.0.a.2.ip6.arpa. transparent" | ||
251 | "yggdrasil. transparent" | ||
252 | ]; | ||
253 | domain-insecure = [ | ||
254 | "141.10.in-addr.arpa." | ||
255 | "1.0.0.0.a.d.a.0.2.5.0.0.0.0.0.4.3.0.a.2.ip6.arpa." | ||
256 | "yggdrasil." | ||
257 | ]; | ||
246 | }; | 258 | }; |
259 | |||
260 | stub-zone = map (name: { | ||
261 | inherit name; | ||
262 | stub-addr = "2a03:4000:52:ada:1:1::"; | ||
263 | stub-first = true; | ||
264 | stub-no-cache = true; | ||
265 | stub-prime = false; | ||
266 | }) ["yggdrasil." "arpa.in-addr.10.141." "1.0.0.0.a.d.a.0.2.5.0.0.0.0.0.4.3.0.a.2.ip6.arpa."]; | ||
247 | }; | 267 | }; |
248 | }; | 268 | }; |
249 | }; | 269 | }; |