[Bug 52133] winhttp/wininet should not query mDNS for proxy auto-detection

WineHQ Bugzilla wine-bugs at winehq.org
Mon Nov 29 11:38:22 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=52133

--- Comment #1 from Hans Leidekker <hans at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list