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: goLookupIPOrder sometimes doesn't look at hosts file #13090

Closed
bprosnitz opened this issue Oct 28, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@bprosnitz
Copy link
Contributor

commented Oct 28, 2015

When the order is dns before file, if there is an error in DNS resolution it won't look at the hosts file. This causes issues when trying to contact localhost with a bad connection.

Patch fixing this: https://go-review.googlesource.com/#/c/16341/

@gopherbot

This comment has been minimized.

Copy link

commented Oct 29, 2015

CL https://golang.org/cl/16341 mentions this issue.

@ianlancetaylor ianlancetaylor added this to the Go1.6 milestone Nov 5, 2015

@bradfitz bradfitz closed this in e614d60 Dec 2, 2015

@golang golang locked and limited conversation to collaborators Dec 1, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.