mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #3351] [MERGED] Cache DNSSEC validations #3767
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#3767
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/3351
Author: @marcus0x62
Created: 11/16/2025
Status: ✅ Merged
Merged: 11/20/2025
Merged by: @marcus0x62
Base:
main← Head:dnssec-validation-caching📝 Commits (4)
65a5580proto: introduce RrsetVerificationContext in dnssec handle2135436proto: introduce RrsetProof in dnssec handle79ad7fcproto: Hash implementation for OPT rdata type8641864proto: cache DNSSEC validations📊 Changes
13 files changed (+507 additions, -61 deletions)
View changed files
📝
Cargo.lock(+2 -0)📝
conformance/Cargo.lock(+68 -4)📝
crates/proto/Cargo.toml(+3 -1)📝
crates/proto/src/dnssec/handle.rs(+250 -41)📝
crates/proto/src/dnssec/rdata/mod.rs(+1 -1)📝
crates/proto/src/dnssec/supported_algorithm.rs(+1 -1)📝
crates/proto/src/rr/rdata/opt.rs(+88 -5)📝
crates/proto/src/rr/record_data.rs(+1 -1)📝
crates/recursor/src/lib.rs(+3 -0)📝
crates/recursor/src/recursor.rs(+1 -0)📝
crates/recursor/src/recursor_dns_handle.rs(+21 -7)📝
crates/server/src/store/recursor.rs(+4 -0)📝
fuzz/Cargo.lock(+64 -0)📄 Description
This adds a caching layer to the DNSSEC validation code to store the result of Rrset validation against DNSKEYs to reduce CPU load of repeated intermediate validations.
Related issue: #2294
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.