blob: 1a13a8780c9aac128600493266fbd1285b18a7bc [file] [log] [blame]
package dns
import (
"net"
)
type Client interface {
Lookup(host string) ([]net.IP, error)
}
type realClient struct{}
func NewClient() Client {
return realClient{}
}
func (c realClient) Lookup(host string) ([]net.IP, error) {
return net.LookupIP(host)
}