Lines Matching refs:resolv
32 resolv *dnsConfig
89 // OpenBSD apparently lets you override the location of resolv.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) {
103 // If we can't read the resolv.conf file, assume it
131 if c.forceCgoLookupHost || c.resolv.unknownOpt || c.goos == "android" {
143 // OpenBSD's resolv.conf manpage says that a non-existent
144 // resolv.conf means "lookup" defaults to only "files",
146 if os.IsNotExist(c.resolv.err) {
149 lookup := c.resolv.lookup
151 // http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/resolv.conf.5
153 // system's resolv.conf file then the assumed