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

[Netty 5] DnsResolver #8551

Open
normanmaurer opened this issue Nov 13, 2018 · 0 comments
Open

[Netty 5] DnsResolver #8551

normanmaurer opened this issue Nov 13, 2018 · 0 comments

Comments

@normanmaurer
Copy link
Member

Netty’s asynchronous DNS resolver APIs have organically grown over the lifetime of Netty 4.1 and continue to be unstable. The scope has increased from the original design to including but not limited to EDNS, redirects, IPv4 and IPv6 preferences, caching name servers, retry, parsing /etc/hosts and system configuration, observing query lifecycle events for visibility / load balancing. We should revisit the different APIs now that we have a better handle on scope and refine/consolidate where possible.

Caches don’t account for inflight queries. If they did we could prevent duplicate queries for the same address in flight at any given time and reduce bursts of duplicate queries. The duplicate query could instead listen to the result of the in-flight query, and use this result. This is interesting when we have to resolve the name server’s address, or when there are CNAME/redirects involved.

@normanmaurer normanmaurer added this to To do in Netty 5 via automation Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Netty 5
  
To do
Development

No branches or pull requests

1 participant