13 lines
264 B
Go
13 lines
264 B
Go
|
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
|
||
|
|
||
|
package resolver
|
||
|
|
||
|
import _ "unsafe"
|
||
|
|
||
|
//go:linkname defaultNS net.defaultNS
|
||
|
var defaultNS []string
|
||
|
|
||
|
func init() {
|
||
|
defaultNS = []string{"114.114.114.114:53", "8.8.8.8:53"}
|
||
|
}
|