https://bugs.winehq.org/show_bug.cgi?id=44296
Bug ID: 44296 Summary: Qt 5 programs fail to resolve DNS SRV records Product: Wine Version: 1.8.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dnsapi Assignee: wine-bugs@winehq.org Reporter: mikkel@krautz.dk Distribution: ---
Created attachment 60129 --> https://bugs.winehq.org/attachment.cgi?id=60129 ZIP file containing reproducible test case.
One of our test cases from Mumble [1] tests our SRV resolving code.
The test passes on Windows 10 (all I've tested), but fails on Wine (wine-1.8.5 (Ubuntu 1.8.5-1ubuntu2)).
On Wine, the test fails due to Qt's QDnsLookup failing with QDnsLookup::ServerFailureError.
The code in Qt 5 is here: https://github.com/qt/qtbase/blob/19b0ce5daa31e2ffebfcf2701143742302f1deb4/s...
So it seems like a call to DnsQuery_W for resolving SRV records is failing with DNS_ERROR_RCODE_SERVER_FAILURE.
I've not dug deeper yet, I just wanted to file this upstream early.