[PR #3358] [MERGED] Invalidate cache for specific query/lookup #3772

Closed
opened 2026-03-16 12:01:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/3358
Author: @conradludgate
Created: 11/22/2025
Status: Merged
Merged: 11/25/2025
Merged by: @djc

Base: mainHead: invalidate-query-cache


📝 Commits (2)

  • 7e2f3d7 allow invalidating the cache for a specific query on the CachingClient
  • 6dd8da7 add generic cache_lookup_clear function

📊 Changes

3 files changed (+27 additions, -0 deletions)

View changed files

📝 crates/resolver/src/cache.rs (+4 -0)
📝 crates/resolver/src/caching_client.rs (+5 -0)
📝 crates/resolver/src/resolver.rs (+18 -0)

📄 Description

This introduces a set of functions to invalidate the cache for a specific query. Fixes #3356.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/3358 **Author:** [@conradludgate](https://github.com/conradludgate) **Created:** 11/22/2025 **Status:** ✅ Merged **Merged:** 11/25/2025 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `invalidate-query-cache` --- ### 📝 Commits (2) - [`7e2f3d7`](https://github.com/hickory-dns/hickory-dns/commit/7e2f3d785d2be33ca774f165e8abf7e625a75f1f) allow invalidating the cache for a specific query on the CachingClient - [`6dd8da7`](https://github.com/hickory-dns/hickory-dns/commit/6dd8da7fcb442c59d952fe8c251b34539e752b6e) add generic cache_lookup_clear function ### 📊 Changes **3 files changed** (+27 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/resolver/src/cache.rs` (+4 -0) 📝 `crates/resolver/src/caching_client.rs` (+5 -0) 📝 `crates/resolver/src/resolver.rs` (+18 -0) </details> ### 📄 Description This introduces a set of functions to invalidate the cache for a specific query. Fixes #3356. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 12:01:51 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#3772
No description provided.