# Packages
No description provided by the author
# Functions
No description provided by the author
CSVtoIPs takes a comma-separated string of IPs, and parses to a []net.IP.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewDMProvider creates a DMProvider.
NewHandler creates a new Handler.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
resolve domain name to ips (ipv4 + ipv6) using traditional udp+tcp, fixed 60s ttl.
# Constants
No description provided by the author
EDNSSentinelValue is the value that when sent to Google as the EDNS value, means "do not use EDNS".
No description provided by the author
MaxBytesOfDNSName is the maximum number of bytes a DNS name may contain.
No description provided by the author
# Variables
No description provided by the author
# Structs
Use map to store cache, red-black tree to index cache.
DMProvider is the Google DNS-over-HTTPS provider; it implements the Provider interface, the abbreviation "DM" stands for dns-message.
DMProviderOptions is a configuration object for optional DMProvider configuration.
DNSQuestion represents a DNS question to be resolved by a DNS server.
DNSRR represents a DNS record, part of a response to a DNSQuestion.
Handler represents a DNS handler.
HandlerOptions specifies options to be used when instantiating a handler.
No description provided by the author
hosts contains known host entries.
JSONDNSResponse represents a response from the Google DNS-over-HTTPS servers.
RedBlackTreeExtended to demonstrate how to extend a RedBlackTree to include new functions.
No description provided by the author
# Interfaces
Provider is an interface representing a service of DNS queries.
# Type aliases
No description provided by the author
GDNSRRs represents an array of GDNSRR objects.
No description provided by the author