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

New default DNS resolver #3976

Open
aajtodd opened this issue Jan 21, 2025 · 0 comments
Open

New default DNS resolver #3976

aajtodd opened this issue Jan 21, 2025 · 0 comments

Comments

@aajtodd
Copy link
Contributor

aajtodd commented Jan 21, 2025

Implement/change default DNS resolver behind a new behavior version for the default HTTP client.

We've had a number of issues around scaling and DNS. The default implementation in hyper-util uses blocking GAI (get address info) call on every request, relying on the OS for caching.

We would want a new resolver that:

  1. Handles caching in-memory by default
  2. first class async support
  3. minimal footprint
  4. Automatic rotation
  5. A way to report connection errors back to resolver to de-prioritize or temporarily remove records from being yielded by the resolver
  6. possible static round-robin support/alternative

See also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant