package
0.0.0-20200406082242-c55bf943a329
Repository: https://github.com/ubastic/v2ray-modify.git
Documentation: pkg.go.dev

# Functions

Fqdn normalize domain make sure it ends with '.'.
New creates a new DNS server with given configuration.
No description provided by the author
NewDoHLocalNameServer creates DOH client object for local resolving.
NewDoHNameServer creates DOH client object for remote resolving.
No description provided by the author
NewStaticHosts creates a new StaticHosts instance.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
DoHNameServer implimented DNS over HTTPS (RFC8484) Wire Format, which is compatiable with traditional dns over udp(RFC1035), thus most of the DOH implimentation is copied from udpns.go.
IPOption is an object for IP query options.
IPRecord is a cacheable item for a resolved domain.
MultiGeoIPMatcher for match.
No description provided by the author
No description provided by the author
Server is a DNS rely server.
StaticHosts represents static domain-ip mapping in DNS server.

# Interfaces

Client is the interface for DNS client.

# Type aliases

No description provided by the author