package dnsresolver import "net" // DomainNameResolver represents domain name resolver. type DomainNameResolver interface { // ResolveA resolves domain's A records agains given nameserver. ResolveA(domain, nameserver string) ([]net.IP, error) }