- 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.