# Packages
No description provided by the author
# Functions
Fqdn normalizes domain make sure it ends with '.'.
New creates a new DNS server with given configuration.
NewClassicNameServer creates udp server object for remote resolving.
NewClient creates a DNS client managing a name server with client IP, domain rules and expected IPs.
NewDoHLocalNameServer creates DOH client object for local resolving.
NewDoHNameServer creates DOH server object for remote resolving.
No description provided by the author
NewLocalDNSClient creates localdns client object for directly lookup in system DNS.
NewLocalNameServer creates localdns server object for directly lookup in system DNS.
NewQUICNameServer creates DNS-over-QUIC client object for local resolving.
NewServer creates a name server object according to the network destination url.
NewSimpleClient creates a DNS client with a simple destination.
NewStaticHosts creates a new StaticHosts instance.
NewTCPLocalNameServer creates DNS over TCP client object for local resolving.
NewTCPNameServer creates DNS over TCP server object for remote resolving.
No description provided by the author
# 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
NextProtoDQ - During connection establishment, DNS/QUIC support is indicated by selecting the ALPN token "dq" in the crypto handshake.
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
Enum value maps for QueryStrategy.
Enum value maps for QueryStrategy.
# Structs
ClassicNameServer implemented traditional UDP DNS.
Client is the interface for DNS client.
No description provided by the author
No description provided by the author
DNS is a DNS rely server.
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.
LocalNameServer is an wrapper over local DNS feature.
No description provided by the author
No description provided by the author
No description provided by the author
QUICNameServer implemented DNS over QUIC.
StaticHosts represents static domain-ip mapping in DNS server.
TCPNameServer implemented DNS over TCP (RFC7766).
# Interfaces
Server is the interface for Name Server.
# Type aliases
No description provided by the author
No description provided by the author