Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net: LookupHost and LookupAddr should recognize host name databases such as /etc/hosts? #6824
Currently both LookupHost and LookupAddr ignores local entries when CGO lookup functions succeed. Unfortunately it seems that getaddrinfo on latest Darwin (OS X Mavericks) never returns an entry of "localhost, [::1]" for some reasons. Should we make the resolver functions more CGO-buildin hybrid?
This issue was closed.