-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.OS-Windowshelp wanted
Milestone
Description
What version of Go are you using (go version)?
$ go version go version go1.19.3 linux/amd64
Does this issue reproduce with the latest release?
Yes:
Line 76 in f721fa3
| On Windows, in Go 1.18.x and earlier, the resolver always used C |
What operating system and processor architecture are you using (go env)?
go env Output
$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/raggi/.cache/go-build" GOENV="/home/raggi/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/raggi/go/pkg/mod" GOOS="linux" GOPATH="/home/raggi/go" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GOVCS="" GOVERSION="go1.19.3" GCCGO="gccgo" GOAMD64="v1" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOWORK="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build370676385=/tmp/go-build -gno-record-gcc-switches"
(GONOPROXY and related redacted for privacy)
What did you do?
I was reading the net/ docs to try to understand some details around DoT/DoH, and came across this statement:
On Windows, in Go 1.18.x and earlier, the resolver always used C library functions, such as GetAddrInfo and DnsQuery.
This statement is somewhat confusing, as it is not clear how it pertains to my current Go version 1.19.3.
What did you expect to see?
I would prefer to see a statement that describes the behavior of my Go version.
What did you see instead?
I saw a statement that describes past versions only.
Metadata
Metadata
Assignees
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.OS-Windowshelp wanted