summaryrefslogtreecommitdiff
path: root/hosts/surtr
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-14 17:43:43 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-14 17:43:43 +0100
commit263e229798ef06f85f48a0d21626aa1b18272e1a (patch)
treedad877bc18ced6320e453e03a1775fca51eef446 /hosts/surtr
parent9699c8f9a84f2ae5e0a1f5fdd47fec0d630bdc01 (diff)
downloadnixos-263e229798ef06f85f48a0d21626aa1b18272e1a.tar
nixos-263e229798ef06f85f48a0d21626aa1b18272e1a.tar.gz
nixos-263e229798ef06f85f48a0d21626aa1b18272e1a.tar.bz2
nixos-263e229798ef06f85f48a0d21626aa1b18272e1a.tar.xz
nixos-263e229798ef06f85f48a0d21626aa1b18272e1a.zip
surtr: dns cookies
Diffstat (limited to 'hosts/surtr')
-rw-r--r--hosts/surtr/dns/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix
index 746b3ee8..db162c56 100644
--- a/hosts/surtr/dns/default.nix
+++ b/hosts/surtr/dns/default.nix
@@ -26,7 +26,19 @@
26 address: 185.181.104.96 26 address: 185.181.104.96
27 action: transfer 27 action: transfer
28 28
29 mod-rrl:
30 - id: default
31 rate-limit: 200
32 slip: 2
33
34 mod-cookies:
35 - id: default
36 secret-lifetime: 4h
37 badcookie-slip: 1
38
29 template: 39 template:
40 - id: default
41 global-module: mod-cookies/default mod-rrl/default
30 - id: inwx_zone 42 - id: inwx_zone
31 storage: /var/lib/knot 43 storage: /var/lib/knot
32 zonefile-sync: -1 44 zonefile-sync: -1