File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,11 @@ GODEBUG environment variable (see package runtime) to go or cgo, as in:
68
68
69
69
The decision can also be forced while building the Go source tree
70
70
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.
76
76
77
77
A numeric netdns setting, as in GODEBUG=netdns=1, causes the resolver
78
78
to print debugging information about its decisions.
You can’t perform that action at this time.
0 commit comments