github.com/xxf098/lite-proxy@v0.15.1-0.20230422081941-12c69f323218/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  }