Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnsdist: support several dynBlockRules of the same type with different actions #6907

rgacogne opened this issue Aug 31, 2018 · 0 comments


Copy link

@rgacogne rgacogne commented Aug 31, 2018

  • Program: dnsdist
  • Issue type: Feature request

Short description

It would be very useful to be able to insert more than one dynBlockRule of the same type (Query rate, rcode rate, response byte rate...) but with different thresholds and actions.


That would allow generating an alert without blocking any query over a certain threshold, while blocking over a different one.


local dbr = dynBlockRulesGroup()
dbr:setQueryRate(50, 10, "Exceeded query rate", 60, DNSAction.NoOp)
dbr:setQueryRate(100, 10, "Exceeded query rate", 60, DNSAction.Drop)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant