diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-20 22:42:53 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-20 22:42:53 +0100 |
commit | b45eef7cb291d4badffc22beb6768b4f0fa0eda0 (patch) | |
tree | c2935e3b3b1cc86c1d44830dd8d04e96995bc136 | |
parent | cf69fb941657dc78dc9e2c23ec8df59bbc069849 (diff) | |
download | nixos-b45eef7cb291d4badffc22beb6768b4f0fa0eda0.tar nixos-b45eef7cb291d4badffc22beb6768b4f0fa0eda0.tar.gz nixos-b45eef7cb291d4badffc22beb6768b4f0fa0eda0.tar.bz2 nixos-b45eef7cb291d4badffc22beb6768b4f0fa0eda0.tar.xz nixos-b45eef7cb291d4badffc22beb6768b4f0fa0eda0.zip |
vidhar: ...
-rw-r--r-- | hosts/vidhar/dns/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/vidhar/dns/default.nix b/hosts/vidhar/dns/default.nix index 1e16c885..5f42af78 100644 --- a/hosts/vidhar/dns/default.nix +++ b/hosts/vidhar/dns/default.nix | |||
@@ -17,12 +17,14 @@ in { | |||
17 | resolveLocalQueries = false; | 17 | resolveLocalQueries = false; |
18 | stateDir = "/var/lib/unbound"; | 18 | stateDir = "/var/lib/unbound"; |
19 | localControlSocketPath = "/run/unbound/unbound.ctl"; | 19 | localControlSocketPath = "/run/unbound/unbound.ctl"; |
20 | enableRootTrustAnchor = false; | ||
20 | settings = { | 21 | settings = { |
21 | server = { | 22 | server = { |
22 | interface = ["lo" "lan"]; | 23 | interface = ["lo" "lan"]; |
23 | prefer-ip6 = true; | 24 | prefer-ip6 = true; |
24 | access-control = ["0.0.0.0/0 allow" "::/0 allow"]; | 25 | access-control = ["0.0.0.0/0 allow" "::/0 allow"]; |
25 | root-hints = "${pkgs.dns-root-data}/root.hints"; | 26 | root-hints = "${pkgs.dns-root-data}/root.hints"; |
27 | trust-anchor-file = "${pkgs.dns-root-data}/root.key"; | ||
26 | 28 | ||
27 | num-threads = 12; | 29 | num-threads = 12; |
28 | so-reuseport = true; | 30 | so-reuseport = true; |