Skip to content

Commit

Permalink
doc: document that the Windows hosts file is now respected
Browse files Browse the repository at this point in the history
For golang#57757.
For golang#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>
  • Loading branch information
qmuntal authored and ezz-no committed Feb 17, 2024
1 parent c98abf9 commit af7d508
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/go1.22.html
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
</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 -->
Expand Down

0 comments on commit af7d508

Please sign in to comment.