]> Cypherpunks repositories - gostls13.git/commit
net: don't avoid resolving .local addresses
authorTom Wilkie <tom@weave.works>
Wed, 17 Aug 2016 09:13:03 +0000 (10:13 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 17 Aug 2016 17:14:26 +0000 (17:14 +0000)
commit289df4e6e65466716aaf1cf65fcfdedada2a5599
tree94b5c60b82ff089cf53bb5a5ef8a38908261283e
parent73fdba2601f1aeaa6565cfb03e4c5c8c98489b7a
net: don't avoid resolving .local addresses

.local addresses are used by things like Kubernetes and Weave DNS; Go
should not avoid resolving them.

This is a partial revert of https://golang.org/cl/21328 which was too
strict of an interpretation of RFC 6762.

Fixes #16739

Change-Id: I349415b4eab5d61240dd18217bd95dc7d2105cd5
Reviewed-on: https://go-review.googlesource.com/27250
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/dnsclient_unix.go
src/net/dnsclient_unix_test.go