mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 19:25:56 +03:00
[GH-ISSUE #2294] make validating Recursor cache intermediate DNSSEC validations #958
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#958
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?
Originally created by @japaric on GitHub (Jul 8, 2024).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2294
as it was noted in the description of PR #2289 , the
Recursordoes not cache the results of each step of the chain of trust validation process. if it did, theRecursorcould avoid performing signature validations (crypto operations) on subsequent queries about sibling and parent domains.This behavior can be observed in the
exploreexampleFirst query:
SOA nameservers.com.each line of the form "validated ({name}, {record_type}) with " in the logs indicates a RRSIG validation (crypto) operation
Second query:
DS nameservers.com.There it can be seen that two RRSIG validation operations, that colud have been avoided, where repeated in the second query
@japaric commented on GitHub (Jul 8, 2024):
actually, it seems that the whole chain of trust validation happens (+) even happens even when the exact same query is repeated 🤔
(+) the network operations are not repeated; we have tests for that
@bluejekyll commented on GitHub (Jul 28, 2024):
Was this fixed in #2297?
@japaric commented on GitHub (Aug 1, 2024):
@bluejekyll no, #2297 only caches the
Proofoutcome on the "top-most" answer that will be returned to the client. the goal of this ticket is to extend caching ofProofs to each step of the chain of trust validation.@cpu commented on GitHub (Dec 2, 2025):
I believe this is addressed by https://github.com/hickory-dns/hickory-dns/pull/3351, please reopen with details on what's missing if I'm wrong!