Lines Matching refs:confVal
36 confVal = &conf{goos: runtime.GOOS} var
42 return confVal
47 confVal.dnsDebugLevel = debugLevel
48 confVal.netGo = netGo || dnsMode == "go"
49 confVal.netCgo = netCgo || dnsMode == "cgo"
51 if confVal.dnsDebugLevel > 0 {
54 case confVal.netGo:
60 case confVal.forceCgoLookupHost:
72 confVal.forceCgoLookupHost = true
82 confVal.netCgo ||
84 confVal.forceCgoLookupHost = true
91 confVal.forceCgoLookupHost = true
96 confVal.nss = parseNSSConfFile("/etc/nsswitch.conf")
99 confVal.resolv = dnsReadConfig("/etc/resolv.conf")
100 if confVal.resolv.err != nil && !os.IsNotExist(confVal.resolv.err) &&
101 !os.IsPermission(confVal.resolv.err) {
106 confVal.forceCgoLookupHost = true
110 confVal.hasMDNSAllow = true