[dnsdist] Regex-Question

Remi Gacogne remi.gacogne at powerdns.com
Fri Nov 13 16:22:08 UTC 2020


Hi Markus,

On 11/13/20 1:28 PM, Markus Ehrlicher via dnsdist wrote:
> For my both existing rules, the regex has the behavior, that queries for
> „*.subdomain.example.org“ should be blocked, but „subdomain.example.org“
> itself is an existing domain and should be handled normally.

Note that you can do that by combining QNameRule (exact matching) and
SuffixMatchNodeRule (suffix matching), without using a regular expression.

Best,
-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20201113/2292248b/attachment.sig>


More information about the dnsdist mailing list