From 0bdb1955ce8559c54d780ef4d34b0427995f3b05 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Sun, 14 Feb 2016 18:22:52 +0100 Subject: [PATCH] document RE2Rule --- pdns/README-dnsdist.md | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.40.0