Skip to content

dnsdist: support NXDomain as a target action for dynBlockRules #6908

@rgacogne

Description

@rgacogne
  • Program: dnsdist
  • Issue type: Feature request

Short description

Instead of dropping the query or sending a REFUSED answer, it would be nice to be able to forge a NXDomain answer.

Usecase

Some users believe this might be a good way to prevent the same client from asking the same question over and over again.

Description

local dbr = dynBlockRulesGroup()
dbr:setQueryRate(30, 10, "Exceeded query rate", 60, DNSAction.Nxdomain)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions