net: "cannot unmarshal DNS message" when using netdns=go under Windows/WSL2 running ubuntu 20.04 #44135
Labels
Milestone
Comments
can this be run with |
Can't test Googles DNS, no public DNS on work network. |
Same issues with a different go program. When I run with +2. I am using a VPN and WSL2. The server is on the VPN.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Haven't tried go1.16-rc1 or tip
What operating system and processor architecture are you using (
go env
)?The problem has been reproduced with Microsoft Windows [Version 10.0.19042.746], WSL2 with Ubuntu 20.04
What did you do?
Run this program on WSL2 with Ubuntu 20.04. It is a very simple program, essentially just calling
net.LookupHost
What did you expect to see?
I expected it to resolve names correctly
What did you see instead?
This issue was originally from rclone/rclone#4984 and @hstaugaard and @black-snow have reported it. I (@ncw) haven't verified it personally since I don't have Windows with WSL2.
This issue is superficially similar to #37362 and #36718 but the adddress in question doesn't have any SRV records and we aren't doing an SRV query, just
HostLookup
The text was updated successfully, but these errors were encountered: