https://bugs.winehq.org/show_bug.cgi?id=52133
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- (In reply to Brendan Shanks from comment #0)
Microsoft has disabled link-local name resolution (i.e. NetBIOS, LLMNR, mDNS) by default for WPAD for years: https://bugs.chromium.org/p/chromium/issues/detail?id=1176970#c29
This is done on Windows with the undocumented AI_DNS_ONLY flag to getaddrinfo(), unfortunately there is no equivalent UNIX flag. Adding a special-case for ".local" domains would at least prevent the most common case of mDNS resolution.
Or we could perhaps implement AI_DNS_ONLY on top of DnsQuery*. My testing shows that res_query doesn't use mDNS on macOS.