From 894aa8e47586f28e7fe1782d7649000e3cecbcaa Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 21 Apr 2016 21:42:21 +0200 Subject: [PATCH] dnsdist: Fix RegexRule example in dnsdistconf.lua --- pdns/dnsdistconf.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistconf.lua b/pdns/dnsdistconf.lua index 0c42ec13ab..be86a04775 100644 --- a/pdns/dnsdistconf.lua +++ b/pdns/dnsdistconf.lua @@ -182,7 +182,7 @@ end -- addAction(QClassRule(3), DropAction()) -- return 'refused' for domains matching the regex evil[0-9]{4,}.powerdns.com$ --- addAction(RegexRule("evil[0-9]{4,}\\\\.powerdns\\\\.com$"), RCodeAction(5)) +-- addAction(RegexRule("evil[0-9]{4,}\\.powerdns\\.com$"), RCodeAction(5)) -- spoof responses for A, AAAA and ANY for spoof.powerdns.com. -- A queries will get 192.0.2.1, AAAA 2001:DB8::1 and ANY both -- 2.47.2