net: go resolver on Windows takes disabled interfaces' DNS nameservers #56160
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Go uses the go resolver and picks the active interfaces nameserver.
What did you see instead?
Go starts with the nameserver configured at disabled network interface.
It is because the code here doesn't filter network interfaces by its operating status as per the docs
The text was updated successfully, but these errors were encountered: