mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #2253] [MERGED] add DNSSEC validation to the recursive resolver #2905
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#2905
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/2253
Author: @japaric
Created: 6/20/2024
Status: ✅ Merged
Merged: 7/3/2024
Merged by: @djc
Base:
main← Head:ja-validating-recursor📝 Commits (10+)
e6186f2move is_subzone to the root of the recursor crateadefc71refactor caching a response into its own function030ef34move maybe_strip_dnssec_records into the root of the recursor crate61438dbmove core resolution logic into its own modulefab7aedintroduce DnssecPolicyc6988c3impl DNSSEC validation with static key352adb0switch TOML library frombasic-tomltotomlf33d760expose DnssecPolicy in RecursorConfig3c46b51set the AD flag when DNSSEC validation succeeds65a96f1have DnssecDnsHandle constructor take an Arc📊 Changes
18 files changed (+844 additions, -448 deletions)
View changed files
📝
Cargo.lock(+53 -10)📝
Cargo.toml(+1 -1)📝
bin/tests/named_test_rsa_dnssec.rs(+7 -2)📝
conformance/packages/conformance-tests/src/resolver/dnssec/scenarios/secure.rs(+0 -2)📝
conformance/packages/dns-test/src/templates/hickory.resolver.toml.jinja(+1 -2)📝
crates/client/src/client/async_secure_client.rs(+3 -2)📝
crates/proto/src/xfer/dnssec_dns_handle.rs(+3 -3)📝
crates/recursor/src/lib.rs(+182 -0)📝
crates/recursor/src/recursor.rs(+156 -416)➕
crates/recursor/src/recursor_dns_handle.rs(+311 -0)📝
crates/server/Cargo.toml(+2 -2)📝
crates/server/src/authority/authority_object.rs(+5 -0)📝
crates/server/src/authority/catalog.rs(+2 -0)📝
crates/server/src/config/mod.rs(+1 -1)📝
crates/server/src/error/config_error.rs(+1 -1)📝
crates/server/src/store/recursor/authority.rs(+11 -3)📝
crates/server/src/store/recursor/config.rs(+104 -2)📝
tests/integration-tests/tests/dnssec_client_handle_tests.rs(+1 -1)📄 Description
this is an initial implementation of DNSSEC validation that maximally reuses the existing
DnssecDnsHandlelogic.it passes the "happy path" conformance tests but there's more work to be done to pass the tests that exercise the failure modes. namely, fixing the bug reported in #2252 . also, handling the CD (Checking Disabled) bit has not yet been implemented
this PR depends on #2245 so I have set that PR's branch as the base for this PR.this PR depends on PRs #2257 , #2258 and #2268all those PRs have been mergedto avoid this being merged into the wrong branch I'm opening this as a draft PR but it is ready for reviewthis is now ready to be mergedcloses #2194
closes #2234
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.