]> git.ipfire.org Git - thirdparty/pdns.git/commit - regression-tests.dnsdist/test_API.py
dnsdist: Add DNSAction.NoOp to debug Dynamic Blocks
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 6 Jul 2018 12:27:47 +0000 (14:27 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 6 Jul 2018 12:27:47 +0000 (14:27 +0200)
commit477c86a090b57022b7dd20e797c4f95bf04dd4c1
tree1f9567fb6cdf2d2e03359bce0da8262e576e1334
parent13fecbbbdf1bcad5eb29bec84f13d2c0b93a83cc
dnsdist: Add DNSAction.NoOp to debug Dynamic Blocks

Setting the dynamic block action to NoOp allows the dynamic rule to
be inserted as usual and show up while looking at the rules,
while not blocking any query and not stopping subsequent rules from
being evaluated.
pdns/dnsdist-lua-vars.cc
pdns/dnsdist-lua.cc
pdns/dnsdist-web.cc
pdns/dnsdist.cc
pdns/dnsdist.hh
pdns/dnsdistdist/docs/guides/dynblocks.rst
pdns/dnsdistdist/docs/reference/config.rst
pdns/dnsdistdist/docs/reference/constants.rst
regression-tests.dnsdist/test_API.py
regression-tests.dnsdist/test_DynBlocks.py