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

DNS resolver does not optimize text-format IP address queries #3943

Closed
erimatnor opened this issue Jul 7, 2015 · 1 comment
Closed

DNS resolver does not optimize text-format IP address queries #3943

erimatnor opened this issue Jul 7, 2015 · 1 comment

Comments

@erimatnor
Copy link

Netty's DNS resolver seems to send DNS queries for any text-based hostname without first checking if the hostname is already a text-format IP address (e.g., "127.0.0.1" or "0.0.0.0"). Some DNS servers do not resolve such hostnames, causing failures. Ideally, Netty's DNS resolver should also check/parse the local /etc/hosts to avoid unnecessary lookups of well-known static hostnames (e.g., "localhost").

@normanmaurer
Copy link
Member

@erimatnor we not do a dns lookup anymore when an ip is used.

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

2 participants