From 263e229798ef06f85f48a0d21626aa1b18272e1a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 14 Feb 2022 17:43:43 +0100 Subject: surtr: dns cookies --- hosts/surtr/dns/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'hosts') 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 @@ address: 185.181.104.96 action: transfer + mod-rrl: + - id: default + rate-limit: 200 + slip: 2 + + mod-cookies: + - id: default + secret-lifetime: 4h + badcookie-slip: 1 + template: + - id: default + global-module: mod-cookies/default mod-rrl/default - id: inwx_zone storage: /var/lib/knot zonefile-sync: -1 -- cgit v1.2.3