Lines Matching defs:dnsConfig
31 type dnsConfig struct { struct
32 servers []string // server addresses (in host:port form) to use
33 search []string // rooted suffixes to append to local name
34 ndots int // number of dots in name to trigger absolute lookup
35 timeout time.Duration // wait before giving up on a query, including retries
36 attempts int // lost packets before giving up on server
37 rotate bool // round robin among servers
38 unknownOpt bool // anything unknown was encountered
39 lookup []string // OpenBSD top-level database "lookup" order
40 err error // any error that occurs during open of resolv.conf
41 mtime time.Time // time of resolv.conf modification
42 soffset uint32 // used by serverOffset
43 singleRequest bool // use sequential A and AAAA queries instead of parallel queries
44 useTCP bool // force usage of TCP for DNS resolutions
45 trustAD bool // add AD flag to queries
46 noReload bool // do not check for config file updates
53 func (c *dnsConfig) serverOffset() uint32 {