mirror of https://github.com/golang/go.git
doc: document that the Windows hosts file is now respected
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>
This commit is contained in:
parent
fe1b2f95e6
commit
ca804118b1
|
|
@ -580,7 +580,10 @@ defer func() {
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p><!-- CL 467335 -->
|
<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>
|
</p>
|
||||||
</dd>
|
</dd>
|
||||||
</dl><!-- net -->
|
</dl><!-- net -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue