Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rec] ability to wipe cache only for a particular tag in the packet cache #14216

Open
franklouwers opened this issue May 21, 2024 · 0 comments
Open

Comments

@franklouwers
Copy link
Contributor

franklouwers commented May 21, 2024

  • Program: Recursor
  • Issue type: Feature request

Short description

There should be a way to remove an entry from a partitioned cache.

Usecase

When using a partitioned cache (using multiple tags using gettag()) we have a partitioned packet cache, eg for two types of users.

There is a way to wipe all info about a certain qname, but that wipes it from everything (packetcache, other caches, ...). (rec_control wipe-cache qname).

It would offer a lot of control to the admins if we could just wipe the packet cache and even better if we could just the packet cache for a particular tag.

Description

Would propose to have something like a rec_control wipe-pcache [tag] [qname] command which would just remove it from the Packet Cache but only for that pc tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants