Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: DNS look up failed after configure DoH in Windows #60730

Closed
ghost opened this issue Jun 11, 2023 · 1 comment
Closed

net: DNS look up failed after configure DoH in Windows #60730

ghost opened this issue Jun 11, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 11, 2023

What version of Go are you using (go version)?

$ go version
go version go1.20.5 windows/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
set GOARCH=amd64
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows

What did you do?

After configure DoH follow Secure DNS Client over HTTPS (DoH), DNS lookup with the pure Go resolver failed.
https://go.dev/play/p/EHn7w1bUT26

[] lookup google.com on 1.12.12.12:53: read udp 192.168.223.195:60200->1.12.12.12:53: i/o timeout

It seems to recognize the server as a plain DNS server.

What did you expect to see?

DNS lookup succeed.

What did you see instead?

DNS lookup failed.

@seankhliao
Copy link
Member

Duplicate of #27552

@seankhliao seankhliao marked this as a duplicate of #27552 Jun 11, 2023
@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant