Skip to content

[dnsdist] DynBlockRulesGroup function call exception #15224

Discussion options

You must be logged in to vote

Have you tried to replace

dbr:setRCodeRate(dnsdist.NXDOMAIN, 20, 10, "Exceeded NXD rate", 60)
dbr:setRCodeRate(dnsdist.SERVFAIL, 20, 10, "Exceeded ServFail rate", 60)
dbr:setQTypeRate(dnsdist.ANY, 5, 10, "Exceeded ANY rate", 60)

with

dbr:setRCodeRate(DNSRCode.NXDOMAIN, 20, 10, "Exceeded NXD rate", 60)
dbr:setRCodeRate(DNSRCode.SERVFAIL, 20, 10, "Exceeded ServFail rate", 60)
dbr:setQTypeRate(DNSQType.ANY, 5, 10, "Exceeded ANY rate", 60)

and does it fix your problem?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@chunyuliu106667777
Comment options

@miodvallat
Comment options

@rgacogne
Comment options

Answer selected by chunyuliu106667777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants