Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
net: Issue with LookupAddr for "0.0.0.0" on Windows in 1.14 #37657
What version of Go are you using (
It shouldn't be printing that, if condition should never be satisfied. Please try the same with go1.13.x.
Seems to be a regression compared to go1.13.x
Yes, I misread your original issue. I bisected this issue to cb325fe
But why do you think 0.0.0.0 should not resolve. For example, try running
Resolve-DnsName -Name 0.0.0.0 -Type PTR | FL
in Powershell. It prints
But, I am not network expert, maybe I am wrong?
Not saying that it should not resolve, far from being an expert on networking standards.
Not available on Windows 7, instead tried
#29600 (comment) mentions use of nslookup for verifying 192. ip series, not sure if we should do the same for 0.0.0.0