Skip to content

Deprecate and remove dnsdist syntactic sugar functions #5069

@pieterlexis

Description

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

Short description

Right now there are multiple ways of accomplishing the same things in dnsdist. For instance

addQPSLimit(AllRule(), qps) == addAction(AllRule(), QPSAction(qps)) == addAction(MaxQPSRule(qps), DropAction()) 

Functions like setDNSSECPool, addDomainSpoof and addPoolRule can be mimicked with a 'normal' set of Rules and Actions. (e.g. setDNSSECPool == addAction(DNSSECRule(), poolAction())).

Forcing users to to be a little bit more explicit (using addAction, addResponseAction etc.) makes for a cleaner and better to understand configuration.

Usecase

Simplify initial understanding of how dnsdist's Rules and Actions hang together and ensure understandability of the configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions