Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Prefer nameservers that respond over those that don't #458

Open
phillip-stephens opened this issue Oct 1, 2024 · 0 comments
Assignees
Milestone

Comments

@phillip-stephens
Copy link
Contributor

Of the available nameservers for a domain, ZDNS will round-robin randomly thru this set. While we cache responses, if a nameserver never replies then ZDNS will still try to connect.

A potential performance gain could be we cache nameservers that don't respond or we cache their failure rates and use that to prioritize selecting the nameservers that respond more.

This "negative cache" could help ZDNS avoid attempting to connect to a nameserver we know is unreachable.

@phillip-stephens phillip-stephens self-assigned this Oct 1, 2024
@zakird zakird added this to the Version 2.1 milestone Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants