mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #3397] [MERGED] resolver: replace RecursorBuilder with RecursiveConfig #3807
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#3807
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/3397
Author: @djc
Created: 12/13/2025
Status: ✅ Merged
Merged: 12/16/2025
Merged by: @djc
Base:
main← Head:recursive-config📝 Commits (10+)
dba4613resolver: untangle transport state setup from builder5f7c6b8resolver: copy builder defaults to RecursiveConfig2450cberecursor: stop supporting unlimited recursion1bffd11resolver: inline single-caller function4981245resolver: don't move connection provider through RecursorBuilder6f37187resolver: introduce intermediate RecursorOptions typebb5b9e5resolver: drop most of the recursor builder APIae8d2c7resolver: drop the remainder of the recursor builder API3fbf82bresolver: move DnssecPolicyConfig::load() to DnssecPolicy::from_config()3197264resolver: move persistent state reading into OpportunisticEncryption method📊 Changes
7 files changed (+411 additions, -509 deletions)
View changed files
📝
crates/resolver/src/config.rs(+67 -1)📝
crates/resolver/src/recursor/error.rs(+3 -4)📝
crates/resolver/src/recursor/handle.rs(+59 -36)📝
crates/resolver/src/recursor/mod.rs(+195 -428)📝
crates/resolver/src/recursor/tests.rs(+76 -37)📝
crates/server/src/store/recursor.rs(+4 -1)📝
util/src/bin/recurse.rs(+7 -2)📄 Description
As suggested in:
This was all a bit tangled up so the commits are somewhat circuitous, but I think this makes for a nice simplification in the end.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.