You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to resolve IP address by host name. But unfortunately all sites which are hosted on CloudFlare returns 1.1.1.1
That is because Go sets IP address to Host Header instead of variable I passed to LookupIP function.
What did you expect to see?
I expect to see real IP address for domain
What did you see instead?
I see 1.1.1.1 in response
The text was updated successfully, but these errors were encountered:
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?
https://play.golang.org/p/__ErkGGpo4p
I'm trying to resolve IP address by host name. But unfortunately all sites which are hosted on CloudFlare returns 1.1.1.1
That is because Go sets IP address to Host Header instead of variable I passed to
LookupIP
function.What did you expect to see?
I expect to see real IP address for domain
What did you see instead?
I see 1.1.1.1 in response
The text was updated successfully, but these errors were encountered: