Skip to content

dnsdist: add support for specifying multiple names to expungeByName #7157

@cbay

Description

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

If you need to purge multiple (unrelated) names, the only solution is to call expungeByName for each name. expungeByName iterates over each cache entry, so if you have a large cache (several millions entries in my case), this is highly inefficient, as each call to expungeByName will iterate the whole cache again.

In my use case, purging a hundred entries will typically take dozens of seconds where dnsdist uses 100% CPU.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions