Your message dated Sat, 31 Oct 2026 15:05:09 -0400
with message-id <[email protected]>
and subject line Re: use gevent resolver "ares" by default on Debian
has caused the Debian Bug report #759699,
regarding use gevent resolver "ares" by default on Debian
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
759699: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759699
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-gevent
Severity: normal
Version: 1.0-2
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
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: [email protected], http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgpCKGoOpubhL.pgp
Description: Digitale PGP-Signatur
--- End Message ---
--- Begin Message ---
tags 759699 + wontfix
thanks
On Fri, 29 Aug 2014 15:01:28 +0000 Mike Gabriel
<[email protected]> wrote:
Package: python-gevent
Severity: normal
Version: 1.0-2
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.).
Hi,
The report highlighted an important problem: DNS lookups in a running
application could stop working after switching networks because the
resolver continued using the previous nameserver configuration.
The system resolver has improved since then. Starting with glibc 2.26,
glibc automatically detects changes to /etc/resolv.conf and reloads the
configuration. Gevent's thread resolver delegates lookups to the native
system resolver, so it benefits from this behavior. The historical
configuration-reloading limitation behind this request has therefore
been addressed in glibc. See the glibc 2.26 release notes and
gevent's thread resolver documentation.
Gevent 26.9.0 continues to use the thread resolver by default. Keeping
that default preserves the system's configured name-service behavior,
including NSS modules. The c-ares resolver has documented differences
involving .local/mDNS names, address ordering and other system settings,
so changing the Debian default would affect applications beyond the original
network-switching problem. Applications that prefer c-ares can still
select it explicitly with GEVENT_RESOLVER=ares.
I am therefore marking this request wontfix and closing it, keeping
Debian aligned with the upstream default. If DNS lookups still fail
after a network change on a current Debian system, please reopen the
report with the installed versions, how DNS configuration is updated,
and a small reproducing example so we can investigate that specific
failure.
Best regards,
Boyuan Yang
OpenPGP_0xC293E7B461825ACE.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---