From: Brad Fitzpatrick Date: Fri, 17 Jul 2015 16:25:45 +0000 (-0700) Subject: doc: document GODEBUG=netdns=X and netcgo in go1.5.txt X-Git-Tag: go1.5beta3~160 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=60315002f3642f25437548e597e684b88a54e78f;p=gostls13.git doc: document GODEBUG=netdns=X and netcgo in go1.5.txt Change-Id: I720aeb1511e407750617e23c4cba1edcddf745bb Reviewed-on: https://go-review.googlesource.com/12326 Reviewed-by: Rob Pike --- diff --git a/doc/go1.5.html b/doc/go1.5.html index 87dbfde33b..bcfde43971 100644 --- a/doc/go1.5.html +++ b/doc/go1.5.html @@ -711,6 +711,11 @@ system resources. The decision of how to run the resolver applies at run time, not build time. The netgo build tag that has been used to enforce the use of the Go resolver is no longer necessary, although it still works. +A new netcgo build tag forces the use of the cgo resolver at +build time. +To force cgo resolution at run time set +GODEBUG=netdns=cgo in the environment. +More debug options are documented here.