mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #3019] [MERGED] resolver: refactor name server configuration #3497
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#3497
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/3019
Author: @djc
Created: 5/28/2025
Status: ✅ Merged
Merged: 5/29/2025
Merged by: @djc
Base:
main← Head:resolver-config📝 Commits (10+)
65a92d8resolver: re-order NameServerConfigGroup implsfc9682aresolver: move ResolverOpts before simple enums38cec55resolver: move NameServerConfig after NameServerConfigGroup68f4a5eresolver: drop NameServerConfigGroup::new() in favor of Default impl44e155dresolver: replace opinionated Default impl for ResolverConfigd6386fbresolver: drop Display impl for NameServerConfig632f3f8proto: QUIC and H3 are not datagram protocols4442572proto: re-order Protocol implseedfd6dproto: drop Default impl for Protocol0080b6cresolver: introduce ProtocolConfig📊 Changes
34 files changed (+462 additions, -510 deletions)
View changed files
📝
bin/src/lib.rs(+2 -2)📝
bin/tests/integration/config_tests.rs(+7 -0)📝
bin/tests/integration/named_https_tests.rs(+1 -1)📝
bin/tests/integration/named_quic_tests.rs(+1 -1)📝
bin/tests/integration/named_rustls_tests.rs(+8 -4)📝
conformance/packages/dns-test/src/templates/hickory.forwarder.toml.jinja(+1 -1)📝
crates/proto/src/h2/h2_client_stream.rs(+22 -20)📝
crates/proto/src/h3/h3_client_stream.rs(+34 -37)📝
crates/proto/src/quic/quic_client_stream.rs(+17 -21)📝
crates/proto/src/quic/tests.rs(+2 -4)📝
crates/proto/src/rustls/tls_client_stream.rs(+7 -8)📝
crates/proto/src/rustls/tls_stream.rs(+17 -16)📝
crates/proto/src/xfer/mod.rs(+15 -36)📝
crates/recursor/src/recursor_dns_handle.rs(+1 -1)📝
crates/resolver/src/config.rs(+187 -201)📝
crates/resolver/src/h2.rs(+4 -4)📝
crates/resolver/src/h3.rs(+3 -3)📝
crates/resolver/src/lib.rs(+1 -1)📝
crates/resolver/src/name_server/connection_provider.rs(+34 -31)📝
crates/resolver/src/name_server/name_server.rs(+5 -8)...and 14 more files
📄 Description
This is eventually in service of https://github.com/hickory-dns/hickory-dns/issues/2738.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.