From: Remi Gacogne Date: Thu, 21 Apr 2016 19:42:21 +0000 (+0200) Subject: dnsdist: Fix RegexRule example in dnsdistconf.lua X-Git-Tag: rec-4.0.0-alpha3~48^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3755%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Fix RegexRule example in dnsdistconf.lua --- 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