[Bug 48293] Battle.net App lags when clicking UI elements

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jan 4 16:27:31 CST 2020


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

--- Comment #13 from Maciej Stanczew <maciej.stanczew+b at gmail.com> ---
It turns out systemd's resolvectl will hang for about 800-900 ms when doing a
query for a hostname without domain:
$ time resolvectl query 'whatever'
whatever: resolve call failed: All attempts to contact name servers or networks
failed
real    0m0.845s
$ time resolvectl query 'whatever.'
whatever.: resolve call failed: All attempts to contact name servers or
networks failed
real    0m0.871s

With added domain the query completes (fails) much quicker (and with a
different result):
$ time resolvectl query 'whatever.myhost'
whatever.myhost: resolve call failed: 'whatever.myhost' not found
real    0m0.012s

So what probably happened here is: before f2e5b807 Wine was doing a query for
"wpad.myhost" (since domain is empty it used hostname in its place), and the
query failed quickly; and after f2e5b807 Wine is not using hostname in case of
empty domain, so it queries for "wpad.", which takes much more time in
resolvectl.

Question is, where does this "wpad" come from? It's not my hostname, so why is
it queried in the form of "wpad.mydomain"?

-- 
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