For #57757.
For #61422.
Change-Id: Icbe9a86b43eb0816dc5899a1c14b50ee22db1c5d
Reviewed-on: https://go-review.googlesource.com/c/go/+/548095
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
</p>
<p><!-- CL 467335 -->
- TODO: <a href="https://go.dev/cl/467335">https://go.dev/cl/467335</a>: net: respect hosts file when resolving names for Windows
+ The Go DNS Resolver, used when building the binary with "-tags=netgo",
+ now searches a matching name in the Windows hosts file,
+ located at <code>%SystemRoot%\System32\drivers\etc\hosts</code>,
+ before making a DNS query.
</p>
</dd>
</dl><!-- net -->