package
0.0.0-20230311160906-45c970cc3660
Repository: https://github.com/jinliming2/secure-dns.git
Documentation: pkg.go.dev
# Functions
FixRecordTTL of reply dns msg.
NewHostsDNSClient returns a new hosts DNS client.
NewHTTPSDNSClient returns a new HTTPS DNS client.
NewHTTPSGoogleDNSClient returns a new HTTPS DNS client using Google API.
NewTLSDNSClient returns a new TLS DNS client.
NewTraditionalDNSClient returns a new traditional DNS client.
# Structs
HostsDNSClient resolves DNS with Hosts.
HTTPSDNSClient resolves DNS with DNS-over-HTTPS.
HTTPSGoogleDNSClient resolves DNS with DNS-over-HTTPS Google API.
TLSDNSClient resolves DNS with DNS-over-TLS.
TraditionalDNSClient resolves DNS with traditional DNS client.
# Interfaces
DNSClient is a DNS client.