package
1.5.1
Repository: https://github.com/frainzy1477/xray-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# 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
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

Enum value maps for DomainMatchingType.
Enum value maps for DomainMatchingType.
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 implemented DNS over HTTPS (RFC8484) Wire Format, which is compatible with traditional dns over udp(RFC1035), thus most of the DOH implementation is copied from udpns.go.
DomainMatcherInfo contains information attached to index returned by Server.domainMatcher.
No description provided by the author
IPRecord is a cacheable item for a resolved domain.
No description provided by the author
MultiGeoIPMatcher for match.
No description provided by the author
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