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

Comments

Projects
None yet
3 participants
@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 added the dnsdist label Feb 2, 2016

@rgacogne rgacogne self-assigned this Feb 2, 2016

@ahupowerdns

This comment has been minimized.

Member

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