WSL crash with Dig when querying DoH server
Summary
Following the decision to remove the native Windows binaries I would like to use Dig under Windows Subsystem for Linux (WSL, Ubuntu on Windows). Specifically I would like to use Dig to query DNS-over-HTTPS, so have installed the dev PPA. However a crash is observed when running DoH queries on WSL, but no such crash for non-DoH queries.
BIND version used
C:\>wsl dig -v
DiG 9.17.16-1+ubuntu20.04.1+isc+1-Ubuntu
Steps to reproduce
Install Ubuntu on Windows, add the dev PPA, and run the following command:
wsl dig +https @dns.google isc.org A
What is the current bug behavior?
Error output:
netmgr/tcp.c:135: fatal error: RUNTIME_CHECK(result == 0) failed
What is the expected correct behavior?
The A record for isc.org.
This is the output for non DoH:
C:\>wsl dig @dns.google isc.org A
; <<>> DiG 9.17.16-1+ubuntu20.04.1+isc+1-Ubuntu <<>> @dns.google isc.org A
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40794
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;isc.org. IN A
;; ANSWER SECTION:
isc.org. 59 IN A 149.20.1.66
;; Query time: 27 msec
;; SERVER: 8.8.8.8#53(dns.google) (UDP)
;; WHEN: Mon Aug 16 11:19:05 BST 2021
;; MSG SIZE rcvd: 52
Relevant configuration files
N/A
Relevant logs and/or screenshots
N/A
Possible fixes
N/A