]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.7] net: don't avoid resolving .local addresses
authorTom Wilkie <tom@weave.works>
Wed, 17 Aug 2016 09:13:03 +0000 (10:13 +0100)
committerChris Broadfoot <cbro@golang.org>
Wed, 7 Sep 2016 17:46:47 +0000 (17:46 +0000)
commit308bdd0256acdc66ef20d4efd7cd41817674771d
treec968ce51eee9101238e35c507597081eb2845384
parent9b4e323e883353e870879fe87c2c16872f43a98d
[release-branch.go1.7] 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>
Reviewed-on: https://go-review.googlesource.com/28632
src/net/dnsclient_unix.go
src/net/dnsclient_unix_test.go