Home | History | Annotate | Download | only in net

Lines Matching refs:resolv

220 	// time to recheck resolv.conf.
222 lastChecked time.Time // last time resolv.conf was checked
223 modTime time.Time // time of resolv.conf modification
226 dnsConfig *dnsConfig // parsed resolv.conf structure used in lookups
234 // resolv.conf twice the first time.
235 conf.dnsConfig = systemConf().resolv
237 conf.dnsConfig = dnsReadConfig("/etc/resolv.conf")
240 if fi, err := os.Stat("/etc/resolv.conf"); err == nil {
250 // tryUpdate tries to update conf with the named resolv.conf file.
252 // "/etc/resolv.conf".
256 // Ensure only one update at a time checks resolv.conf.
304 resolvConf.tryUpdate("/etc/resolv.conf")
438 resolvConf.tryUpdate("/etc/resolv.conf")