Lines Matching refs:confVal
37 confVal = &conf{goos: runtime.GOOS} var
43 return confVal
48 confVal.dnsDebugLevel = debugLevel
49 confVal.netGo = netGo || dnsMode == "go"
50 confVal.netCgo = netCgo || dnsMode == "cgo"
52 if confVal.dnsDebugLevel > 0 {
55 case confVal.netGo:
61 case confVal.forceCgoLookupHost:
73 confVal.forceCgoLookupHost = true
83 confVal.netCgo ||
85 confVal.forceCgoLookupHost = true
92 confVal.forceCgoLookupHost = true
97 confVal.nss = parseNSSConfFile("/etc/nsswitch.conf")
100 confVal.resolv = dnsReadConfig("/etc/resolv.conf")
101 if confVal.resolv.err != nil && !os.IsNotExist(confVal.resolv.err) &&
102 !os.IsPermission(confVal.resolv.err) {
107 confVal.forceCgoLookupHost = true
111 confVal.hasMDNSAllow = true