Versions in this module Expand all Collapse all v1 v1.4.4 Aug 10, 2021 Changes in this version + var ErrEmptyResponse = errors.New("empty response") + var FakeIPPool = "198.18.0.0/16" + func ClientType() interface + func RCodeFromError(err error) uint16 + type Client interface + LookupIP func(domain string, option IPOption) ([]net.IP, error) + type FakeDNSEngine interface + GetDomainFromFakeDNS func(ip net.Address) string + GetFakeIPForDomain func(domain string) []net.Address + GetFakeIPRange func() *gonet.IPNet + type IPOption struct + FakeEnable bool + IPv4Enable bool + IPv6Enable bool + type RCodeError uint16 + func (e RCodeError) Error() string