Versions in this module Expand all Collapse all v25 v25.1.30 Jan 31, 2025 v25.1.1 Jan 1, 2025 Changes in this version + var ErrEmptyResponse = errors.New("empty response") + var FakeIPv4Pool = "198.18.0.0/15" + var FakeIPv6Pool = "fc00::/18" + 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 + type FakeDNSEngineRev0 interface + GetFakeIPForDomain3 func(domain string, IPv4, IPv6 bool) []net.Address + IsIPInIPPool func(ip net.Address) bool + type HostsLookup interface + LookupHosts func(domain string) *net.Address + type IPOption struct + FakeEnable bool + IPv4Enable bool + IPv6Enable bool + type RCodeError uint16 + func (e RCodeError) Error() string Other modules containing this package github.com/xmplusdev/xray-core github.com/xmplusdev/xray-core/v24