-
Notifications
You must be signed in to change notification settings - Fork 321
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 is broken with eventlet==0.20.0 #363
Comments
`resolv.conf` docs say unqualified names must resolve from search (or local) domain. However, common OS `getaddrinfo()` implementations append trailing dot (e.g. `db -> db.`) and ask nameservers, as if top-level domain was queried. Eventlet now supports this behavior. #363
Please try this version with fix
|
`resolv.conf` docs say unqualified names must resolve from search (or local) domain. However, common OS `getaddrinfo()` implementations append trailing dot (e.g. `db -> db.`) and ask nameservers, as if top-level domain was queried. Eventlet now supports this behavior. #363
Yep, this solves the problem. Thank you. I guess the |
`resolv.conf` docs say unqualified names must resolve from search (or local) domain. However, common OS `getaddrinfo()` implementations append trailing dot (e.g. `db -> db.`) and ask nameservers, as if top-level domain was queried. Eventlet now supports this behavior. #363
I deeply agree that |
The fix is included in v0.20.1 version that is already available on PyPI. |
Upgrading to eventlet 0.20.0 breaks DNS lookups of fully-qualified domain names that do not end with a
.
if a search domain is specified.dnspython doesn't support this behaviour (rthalley/dnspython#219), I guess because it's not strictly correct, but
socket.getaddrinfo
does, so the behaviour is different with and without the monkeypatch.Gist to reproduce is here: https://gist.github.com/mattbennett/b0340fedd8a8f1fecd47cba26c7bec6b
The text was updated successfully, but these errors were encountered: