DNS Record Types
DNS records store different types of data in the Domain Name System. Each record type serves a specific purpose – from mapping domain names to IP addresses, to configuring email routing and security policies.
26
Record Types
Record relationships
How DNS record types connect to each other and to higher-level protocols
Address resolution
IPv4 ↔ IPv6 equivalents. Browsers use Happy Eyeballs to prefer AAAA.
Alias chain: CNAME follows to final A/AAAA. Cannot coexist at zone apex.
Reverse of A/AAAA. PTR lives in .in-addr.arpa or .ip6.arpa zone.
Email routing & authentication
MX names must resolve to A/AAAA – cannot point to CNAME.
SPF v=spf1 authorizes IPs that deliver mail for this domain.
DKIM public key at selector._domainkey.domain for signature verification.
DMARC at _dmarc.domain enforces policy when SPF/DKIM fail or are unaligned.
DNSSEC chain of trust
Zone's public key. DS record in parent zone contains its hash, linking trust chain.
Signature over every RRset. Verified with DNSKEY. Resolvers with DO bit get RRSIG.
Authenticated denial of existence. NSEC3 hashes names to prevent zone walking.
Service discovery & policies
Service location: SRV names the host, A/AAAA resolves it. Used by SIP, XMPP, gRPC.
Restricts which CAs may issue TLS certificates for this domain.
Pins a TLS certificate or key to a domain via DNSSEC (DANE).