Skip to content

Commit

Permalink
doc: improve release note for Windows hosts file being respected
Browse files Browse the repository at this point in the history
Make a grammar fix (searches -> searches for) and simplify "when
building with" phrase.

For golang#61422.

Change-Id: I179b3816c0e223a16e4969290b2c1ed19d44c556
Reviewed-on: https://go-review.googlesource.com/c/go/+/549457
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
  • Loading branch information
dagood authored and ezz-no committed Feb 17, 2024
1 parent 6730ebb commit b80f1a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/go1.22.html
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,8 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
</p>

<p><!-- CL 467335 -->
The Go DNS Resolver, used when building the binary with "-tags=netgo",
now searches a matching name in the Windows hosts file,
The Go DNS Resolver, used when building with "-tags=netgo",
now searches for a matching name in the Windows hosts file,
located at <code>%SystemRoot%\System32\drivers\etc\hosts</code>,
before making a DNS query.
</p>
Expand Down

0 comments on commit b80f1a6

Please sign in to comment.