# Functions
CopyCtxValues returns a new context with parent's values.
No description provided by the author
No description provided by the author
No description provided by the author
GetProxy reports the proxy name used by the DNS client and whether there is a proxy.
No description provided by the author
No description provided by the author
No description provided by the author
IsProxyServer reports whether the DefaultResolver should be exchanged by proxyServer DNS client.
IsRemote reports whether the DefaultResolver should be exchanged by remote DNS client.
LookupIP with a host, return ip list.
LookupIPByProxy with a host and proxy, reports force combined ipv6 list whether the DisableIPv6 value is true.
LookupIPByResolver same as ResolveIP, but with a resolver.
LookupIPv4 with a host, return ipv4 list.
LookupIPv4ByProxy with a host and proxy, reports ipv4 list.
LookupIPv6 with a host, return ipv6 list.
LookupIPv6ByProxy with a host and proxy, reports ipv6 list whether the DisableIPv6 value is true.
No description provided by the author
RemoveCache remove cache by host.
ResolveIP with a host, return ip.
ResolveIPv4 with a host, return ipv4.
ResolveIPv4ProxyServerHost proxies server host only.
ResolveIPv6 with a host, return ipv6.
ResolveIPv6ProxyServerHost proxies server host only.
ResolveProxyServerHost proxies server host only.
ServeMsg with a dns.Msg, return resolve dns.Msg.
SetDisableIPv6 set DisableIPv6 & needProxyHostIPv6 value.
No description provided by the author
No description provided by the author
WithProxy returns a new context with proxy name.
# Variables
DefaultDNSTimeout defined the default dns request timeout.
No description provided by the author
DefaultHosts aim to resolve hosts.
No description provided by the author
DefaultResolver aim to resolve ip.
DisableIPv6 means don't resolve ipv6 host default value is true.
No description provided by the author
No description provided by the author
No description provided by the author
RemoteDnsResolve reports whether TCP/UDP handler should be remote resolve DNS default value is true.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author