On Thu, Jun 10, 2021 at 1:41 AM Tobias S. Josefowitz <[email protected]> wrote: > > On Wed, Jun 9, 2021 at 3:48 PM Chris Angelico <[email protected]> wrote: > > > > There's another, more significant, change that happened in the past > > few months. It's not a simple fix. The default behaviour of > > Protocols.DNS.async_host_to_ip, which is used by Protocols.HTTP, > > changed from "only look up A records" to "look up AAAA and A records, > > and return the first AAAA if found, otherwise the first A". > > Unfortunately everything is built to assume that there's at most one > > IP address for that host name. > > Sounds like a good enough reason to revert that change to me...
Needn't revert completely. If it's decided that the preference should continue to be A, then it's just a matter of reversing the order of returned values - a simple matter of switching two numbers. ChrisA
