https://bugs.winehq.org/show_bug.cgi?id=46402
Bug ID: 46402 Summary: DnsQuery_W fails for DNS_TYPE_ANY Product: Wine Version: 4.0-rc3 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: dnsapi Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
Fluenz calls DnsQuery_W with DNS_TYPE_ANY, and this fails - then it assumes there is no internet.
The underlying problem is that res_query fails for T_ANY - not sure why, but it's like that. Forcing res_query to use T_A works around the problem and makes Fluenz work.
https://bugs.winehq.org/show_bug.cgi?id=46402
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Created attachment 63165 --> https://bugs.winehq.org/attachment.cgi?id=63165 Hack to work around the issue
https://bugs.winehq.org/show_bug.cgi?id=46402
--- Comment #2 from Hans Leidekker hans@meelstraat.net --- Created attachment 63167 --> https://bugs.winehq.org/attachment.cgi?id=63167 test
Here's a test for DNS_TYPE_ANY. It succeeds on my Debian machine as well the Windows VMs on the testbot. It fails on the Debian testbot VM with DNS_ERROR_RCODE_NOT_IMPLEMENTED.
https://bugs.winehq.org/show_bug.cgi?id=46402
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- (In reply to Hans Leidekker from comment #2)
Created attachment 63167 [details] test
Here's a test for DNS_TYPE_ANY. It succeeds on my Debian machine as well the Windows VMs on the testbot. It fails on the Debian testbot VM with DNS_ERROR_RCODE_NOT_IMPLEMENTED.
Looks like the ANY query is being deprecated, cf. https://blog.cloudflare.com/deprecating-dns-any-meta-query-type/
This implies that you will also see these failures on Windows, depending on which DNS server you ask:
CloudFlare DNS:
$ dig @1.1.1.1 -t any winehq.org
; <<>> DiG 9.10.3-P4-Debian <<>> @1.1.1.1 -t any winehq.org ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOTIMP, id: 8725 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1452 ;; QUESTION SECTION: ;winehq.org. IN ANY
Google DNS:
$ dig @8.8.8.8 -t any winehq.org
; <<>> DiG 9.10.3-P4-Debian <<>> @8.8.8.8 -t any winehq.org ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26597 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;winehq.org. IN ANY
;; ANSWER SECTION: winehq.org. 3788 IN HINFO "ANY obsoleted" "See draft-ietf-dnsop-refuse-any"
https://bugs.winehq.org/show_bug.cgi?id=46402
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=46402
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID
--- Comment #4 from Hans Leidekker hans@meelstraat.net --- Closing invalid.
https://bugs.winehq.org/show_bug.cgi?id=46402
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- Closing.