mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #2976] [MERGED] Change RecursorBuilder to take a list of IPs #3461
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#3461
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/2976
Author: @divergentdave
Created: 5/6/2025
Status: ✅ Merged
Merged: 5/6/2025
Merged by: @divergentdave
Base:
main← Head:david/recursor-constructor-ips📝 Commits (1)
1be3ea5Change RecursorBuilder to take a list of IPs📊 Changes
4 files changed (+25 additions, -123 deletions)
View changed files
📝
crates/recursor/src/recursor.rs(+7 -10)📝
crates/recursor/src/recursor_dns_handle.rs(+3 -3)📝
crates/server/src/store/recursor.rs(+4 -35)📝
util/src/bin/recurse.rs(+11 -75)📄 Description
This changes recursor constructors to take a slice of IP addresses instead of a
NameServerConfigGroup. This reduces boilerplate and eliminates a source of misconfigurations. While this removes the ability to choose a different set of protocols or set a bind address in eachNameServerConfig, these settings are not very useful when applied solely to the root zone. If there is need for such features in the future, they could be added as separate configuration, and applied to all name server connections made by the recursor.Closes #2853.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.