github.com/laof/lite-speed-test@v0.0.0-20230930011949-1f39b7037845/dns/defaults.go (about)

     1  //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
     2  
     3  package dns
     4  
     5  import _ "unsafe"
     6  
     7  //go:linkname defaultNS net.defaultNS
     8  var defaultNS []string
     9  
    10  func init() {
    11  	defaultNS = []string{"223.5.5.5:53", "8.8.8.8:53"}
    12  }