diff options
-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; |