diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-08 16:08:34 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-08 16:08:34 +0200 |
commit | 8e40a6962d45418beb98d164dbc4847e29b705eb (patch) | |
tree | ea35c01f6942f7ea9b9be1685969ee44c83e328c /hosts/surtr/dns | |
parent | 2c6d2f275f5536a1c865d45640f3ef5a06452929 (diff) | |
download | nixos-8e40a6962d45418beb98d164dbc4847e29b705eb.tar nixos-8e40a6962d45418beb98d164dbc4847e29b705eb.tar.gz nixos-8e40a6962d45418beb98d164dbc4847e29b705eb.tar.bz2 nixos-8e40a6962d45418beb98d164dbc4847e29b705eb.tar.xz nixos-8e40a6962d45418beb98d164dbc4847e29b705eb.zip |
surtr: ...
Diffstat (limited to 'hosts/surtr/dns')
-rw-r--r-- | hosts/surtr/dns/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix index 0a754a86..28e0df73 100644 --- a/hosts/surtr/dns/default.nix +++ b/hosts/surtr/dns/default.nix | |||
@@ -207,9 +207,12 @@ in { | |||
207 | 207 | ||
208 | settings = { | 208 | settings = { |
209 | server = { | 209 | server = { |
210 | interface = ["127.0.0.1@5353" "::1@5353"]; | 210 | interface = ["lo"]; |
211 | prefer-ip6 = true; | ||
211 | access-control = ["127.0.0.0/8 allow" "::1/128 allow"]; | 212 | access-control = ["127.0.0.0/8 allow" "::1/128 allow"]; |
212 | root-hints = "${pkgs.dns-root-data}/root.hints"; | 213 | root-hints = "${pkgs.dns-root-data}/root.hints"; |
214 | trust-anchor-file = "${pkgs.dns-root-data}/root.key"; | ||
215 | trust-anchor-signaling = false; | ||
213 | 216 | ||
214 | num-threads = 12; | 217 | num-threads = 12; |
215 | so-reuseport = true; | 218 | so-reuseport = true; |