From: bert hubert Date: Sun, 14 Feb 2016 17:22:52 +0000 (+0100) Subject: document RE2Rule X-Git-Tag: auth-4.0.0-alpha2~56^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0bdb1955ce8559c54d780ef4d34b0427995f3b05;p=pdns document RE2Rule --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index 1ca6d6e2f..b2f527748 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -294,6 +294,7 @@ Rules have selectors and actions. Current selectors are: * QClass (QClassRule) * QType (QTypeRule) * RegexRule on query name + * RE2Rule on query name (optional) * Packet requests DNSSEC processing * Query received over UDP or TCP @@ -340,6 +341,7 @@ A DNS rule can be: * a QClassRule * a QTypeRule * a RegexRule + * a RE2Rule * a SuffixMatchNodeRule * a TCPRule @@ -469,6 +471,8 @@ The second rule drops anything with more than 4 consecutive digits within a .CN Note that the query name is presented without a trailing dot to the regex. The regex is applied case insensitively. +Alternatively, if compiled in, RE2Rule provides similar functionality, but against libre2. + Inspecting live traffic ----------------------- This is still much in flux, but for now, try: