[issue47149] DatagramHandler doing DNS lookup on every log message

Bruce Merry report at bugs.python.org
Tue Mar 29 15:44:11 EDT 2022


Bruce Merry <bmerry at gmail.com> added the comment:

> Yes, that's what I mean. Isn't the resolver library smart enough to cache lookups and handle the TTL timeout by itself?

Apparently not in this case - with tcpdump I can see the DNS requests being fired off several times a second. I'll need to check what the TTL actually is though.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47149>
_______________________________________


More information about the Python-bugs-list mailing list