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
Closed

net: goLookupIPOrder sometimes doesn't look at hosts file #13090

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

Comments

@bprosnitz
Copy link
Contributor

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
Copy link

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

@ianlancetaylor ianlancetaylor added this to the Go1.6 milestone Nov 5, 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.
Projects
None yet
Development

No branches or pull requests

3 participants