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 - dynBlock logs just the first hit #3323

Closed
rygl opened this issue Feb 2, 2016 · 1 comment
Closed

dnsdist - dynBlock logs just the first hit #3323

rygl opened this issue Feb 2, 2016 · 1 comment
Assignees
Labels

Comments

@rygl
Copy link

@rygl rygl commented Feb 2, 2016

Hi,
let's have a simple maintenance function:

function maintenance()
        addDynBlocks(exceedQRate(20, 5), "Exceeded query rate", 3)
        addDynBlocks(exceedNXDOMAINs(5, 5), "Exceeded query rate with NXDOMAIN response", 3)
end

The issue is that just 1st hit is being logged. If I run a test with queries in a loop, the dynBlock is being installed and is expiring but without any notice to the log.

A.

@rgacogne rgacogne self-assigned this Feb 2, 2016
@ahupowerdns
Copy link
Contributor

@ahupowerdns ahupowerdns commented Feb 2, 2016

well this was by design - otherwise you get loads of repeated notifications for the same IP address. Or is this not what you mean? The design is that per IP address you get one notification when we install the block. If the block expires and it gets reinstated, then you'd get another notification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants