Versions in this module Expand all Collapse all v0 v0.3.7 Jan 23, 2026 Changes in this version + const EnvVarDnsProtocol + const EnvVarLocalDomains + const EnvVarLogLevel + const Localhost + const LocalhostIp6 + const StandardDnsPort + const StandardSshPort + const YyyyMmDdHhMmSs + func IsDomainNotExist(err error) bool + func NsLookup(domain string, qtype uint16, net, dnsServerAddr string) (*dns.Msg, error) + func ReadCache(domain string, qtype uint16, ttl int64) []dns.RR + func SetupDnsServer(dnsHandler dns.Handler, port int, net string) error + func WriteCache(domain string, qtype uint16, answer []dns.RR, timestamp int64) + type DomainNotExistError struct + func (e DomainNotExistError) Error() string + type NsEntry struct