func NewConf() (c *Conf) {
	c = &Conf{}
	c.Nameserver = make([]net.IP, 0, resolvMaxNS)
	c.Search = make([]string, 0, resolvMaxSearch)
	c.Sortlist = make([]SortlistItem, 0, resolvMaxSortlistPairs)
	c.Opt.Ndots = resolvNDotsDefault
	c.Opt.TimeoutSecs = resolvTimeoutDefault
	c.Opt.Attempts = resolvAttepmptsDefault
	return
}
// Return a constructed Conf with sane defaults
Return a constructed Conf with sane defaults
// Return a constructed Conf with sane defaults
func NewConf() (c *Conf) {
	c = &Conf{}
	c.Nameserver = make([]net.IP, 0, resolvMaxNS)
	c.Search = make([]string, 0, resolvMaxSearch)
	c.Sortlist = make([]SortlistItem, 0, resolvMaxSortlistPairs)
	c.Opt.Ndots = resolvNDotsDefault
	c.Opt.TimeoutSecs = resolvTimeoutDefault
	c.Opt.Attempts = resolvAttepmptsDefault
	return
}
func NewConf ( ) ( c * Conf ) { c = & Conf { } c . Nameserver = make ( [ ] net . IP , 0 , resolvMaxNS ) c . Search = make ( [ ] string , 0 , resolvMaxSearch ) c . Sortlist = make ( [ ] SortlistItem , 0 , resolvMaxSortlistPairs ) c . Opt . Ndots = resolvNDotsDefault c . Opt . TimeoutSecs = resolvTimeoutDefault c . Opt . Attempts = resolvAttepmptsDefault return }
Return a constructed Conf with sane defaults
Return a constructed Conf with sane defaults