summaryrefslogtreecommitdiff
path: root/hosts/surtr/dns/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-15 16:34:50 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-15 16:34:50 +0100
commit4886d3da762d0202d3f71a420faa449c31774e33 (patch)
treecd334aa42c5109718a81d6060196b74e5a26d121 /hosts/surtr/dns/default.nix
parent3d4845954b273f08cd120a1d11b032d635c19ef0 (diff)
downloadnixos-4886d3da762d0202d3f71a420faa449c31774e33.tar
nixos-4886d3da762d0202d3f71a420faa449c31774e33.tar.gz
nixos-4886d3da762d0202d3f71a420faa449c31774e33.tar.bz2
nixos-4886d3da762d0202d3f71a420faa449c31774e33.tar.xz
nixos-4886d3da762d0202d3f71a420faa449c31774e33.zip
surtr: ...
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;