1 // Copyright 2015 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // +build !js,!nacl,!plan9,!windows
9 // forceGoDNS forces the resolver configuration to use the pure Go resolver
10 // and returns a fixup function to restore the old settings.
11 func forceGoDNS() func() {
24 // forceCgoDNS forces the resolver configuration to use the cgo resolver
25 // and returns a fixup function to restore the old settings.
26 // (On non-Unix systems forceCgoDNS returns nil.)
27 func forceCgoDNS() func() {