mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[GH-ISSUE #1721] Add new algorithms to the NameserverPool for rotating nameservers used when making queries #747
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#747
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 @bluejekyll on GitHub (Jun 6, 2022).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1721
Is your feature request related to a problem? Please describe.
Some namesevers will rate-limit clients. We should come up with new algorithms and policies for how to choose the a nameserver in the pool for each next query.
Describe the solution you'd like
We should use this thread to create requirements. Today's algorithm is pretty basic. It works by reordering the Nameservers on each request, but does not currently offer any form of rate-limiting or forced rotation. Additionally it would be nice to track the latency to each nameserver and use that for prioritizing requests.
@djc commented on GitHub (Aug 14, 2023):
#1920 and #1784 made some progress on this, I think.
@divergentdave commented on GitHub (Nov 15, 2024):
I think PR #2522 finished up the last piece of this, by including all nameservers for a zone in pools used by the recursor. The recursor builds pools using
ServerOrderingStrategy::QueryStatistics, so we are getting the latency-based prioritization.Is there anything else we'd like to do here, or should we close this out?
@djc commented on GitHub (Nov 15, 2024):
Let's close it.