package resolver import ( "context" "github.com/miekg/dns" ) // ExtractRecordValue exports extractRecordValue for testing. func ExtractRecordValue(rr dns.RR) string { return extractRecordValue(rr) } // CollectIPs exports collectIPs for testing. func CollectIPs( results map[string]*NameserverResponse, ) ([]string, string, error) { return collectIPs(results) } // QueryEachNS exports queryEachNS for testing. func (r *Resolver) QueryEachNS( ctx context.Context, nameservers []string, hostname string, ) (map[string]*NameserverResponse, error) { return r.queryEachNS(ctx, nameservers, hostname) }