Skip to content

Commit de542f1

Browse files
committed
update
Change-Id: Idef626b47e7213a199c3e74ac43d61e9d5a9f8f5
1 parent 827fd1b commit de542f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/net/net.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ GODEBUG environment variable (see package runtime) to go or cgo, as in:
6868
6969
The decision can also be forced while building the Go source tree
7070
by setting the netgo or netcgo build tag.
71-
The netgo build flag disables entirely the use of the native (CGO) resolver, so the
72-
Go resolver is the only one that is supported, whereas with the netcgo build tag
73-
the native and the pure Go resolver is compiled into the binary, but the native (CGO)
74-
resolver is preferred over the Go resolver, no matter the system configuration.
75-
The Go resolver can still be forced with GODEBUG=netdns=go or with the [Resolver.PreferGo] setting.
71+
The netgo build flag disables entirely the use of the native (CGO) resolver,
72+
meaning the Go resolver is the only one that can be used.
73+
With the netcgo build tag the native and the pure Go resolver are compiled into the binary,
74+
but the native (CGO) resolver is preferred over the Go resolver, no matter the system configuration.
75+
With netcgo, the Go resolver can still be forced at runtime with GODEBUG=netdns=go.
7676
7777
A numeric netdns setting, as in GODEBUG=netdns=1, causes the resolver
7878
to print debugging information about its decisions.

0 commit comments

Comments
 (0)