Improve: replace bootstrap dns (#2080)

This commit is contained in:
Kr328 2022-04-16 15:31:26 +08:00 committed by MetaCubeX
parent 5a4441c47f
commit 5d36d8b139

View file

@ -0,0 +1,12 @@
//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"}
}