summaryrefslogtreecommitdiff
path: root/hosts/surtr/dns/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr/dns/default.nix')
-rw-r--r--hosts/surtr/dns/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix
index 87ab922c..978459dc 100644
--- a/hosts/surtr/dns/default.nix
+++ b/hosts/surtr/dns/default.nix
@@ -1,4 +1,4 @@
1{...}: 1{ pkgs, ... }:
2{ 2{
3 config = { 3 config = {
4 fileSystems."/var/lib/knot" = 4 fileSystems."/var/lib/knot" =
@@ -21,7 +21,7 @@
21 - id: inwx_notify 21 - id: inwx_notify
22 address: 185.181.104.96@53 22 address: 185.181.104.96@53
23 - id: recursive 23 - id: recursive
24 address: 127.0.0.1@5353 24 address: ::1@5353
25 25
26 acl: 26 acl:
27 - id: inwx_acl 27 - id: inwx_acl
@@ -123,8 +123,8 @@
123 123
124 settings = { 124 settings = {
125 server = { 125 server = {
126 interface = ["127.0.0.1:5353" "::0:5353"]; 126 interface = ["127.0.0.1:5353" "::1:5353"];
127 access-control = ["127.0.0.0/8 allow" "::0/128 allow"]; 127 access-control = ["127.0.0.0/8 allow" "::1/128 allow"];
128 root-hints = "${pkgs.dns-root-data}/root.hints"; 128 root-hints = "${pkgs.dns-root-data}/root.hints";
129 129
130 num-threads = 12; 130 num-threads = 12;