From 60315002f3642f25437548e597e684b88a54e78f Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 17 Jul 2015 09:25:45 -0700 Subject: [PATCH] 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 --- doc/go1.5.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/go1.5.html b/doc/go1.5.html index 87dbfde33b7..bcfde439718 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.