dnsdist - dynBlock logs just the first hit #3323

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

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
Member

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