Dear maintainer,
I want to suggest using the ares DNS resolver in gevent by default on Debian.
From http://gevent.org/whatsnew_1_0.html:
"""
Two new DNS resolvers: threadpool-based one (enabled by default) and
c-ares based one. That threadpool-based resolver was added mostly for
Windows and Mac OS X platforms where c-ares might behave differently
w.r.t system configuration. On Linux, however, the c-ares based
resolver is probably a better choice. To enable c-ares resolver set
GEVENT_RESOLVER=ares environment variable.
"""
One nasty things that goes away when setting GEVENT_RESOLVER=ares is this:
If you use gevent for DNS resolution everything works fine directly
after application start. But when the DNS server address
(/etc/resolv.conf) changes, then gevent would not notice that. Further
DNS lookups end in Nirwana. With GEVENT_RESOLVER=ares, everything
works smoothly on network changes (LAN -> WiFi / OpenVPN, etc.).
Greets,
Mike