From 0effcb96a33d83171e79fcc76fa3b8c9b413f225 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 8 Apr 2022 23:37:26 +0200 Subject: surtr: ... --- hosts/surtr/dns/default.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'hosts') 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 { rrset-roundrobin = true; use-caps-for-id = true; + + do-not-query-localhost = false; + local-zone = [ + "141.10.in-addr.arpa. transparent" + "1.0.0.0.a.d.a.0.2.5.0.0.0.0.0.4.3.0.a.2.ip6.arpa. transparent" + "yggdrasil. transparent" + ]; + domain-insecure = [ + "141.10.in-addr.arpa." + "1.0.0.0.a.d.a.0.2.5.0.0.0.0.0.4.3.0.a.2.ip6.arpa." + "yggdrasil." + ]; }; + + stub-zone = map (name: { + inherit name; + stub-addr = "2a03:4000:52:ada:1:1::"; + stub-first = true; + stub-no-cache = true; + stub-prime = false; + }) ["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."]; }; }; }; -- cgit v1.2.3