Overview of dns library features
masterThe miekg/dns library is a granular, high-performance DNS library supporting both client-side and server-side programming. Key features include:
- Protocol Support: UDP/TCP queries for both IPv4 and IPv6.
- Zone Files: RFC 1035 zone file parsing, including
$INCLUDE,$ORIGIN,$TTL, and$GENERATE. - DNSSEC: Signing, validating, and key generation for DSA, RSA, ECDSA, and Ed25519.
- Security & Encryption: DNS over TLS (DoT), TSIG, and SIG(0).
- Advanced DNS Features: EDNS0, NSID, Cookies, AXFR/IXFR, and DNS name compression.
- Server/Client: Server-side programming mimics the
net/httppackage style.