Guide
DNS Record Types
A DNS resource record has an owner name, type, class, TTL and type-specific data. A and AAAA records hold addresses; MX records select mail exchangers; NS records identify authoritative servers. Choosing the correct type matters because resolvers and applications interpret each data format differently.
Meaning and purpose
A DNS resource record has an owner name, type, class, TTL and type-specific data. A and AAAA records hold addresses; MX records select mail exchangers; NS records identify authoritative servers. Choosing the correct type matters because resolvers and applications interpret each data format differently.
How it works in context
An MX target is a hostname, not an IP literal; a PTR record lives in a reverse zone. CNAME aliases a name and generally cannot coexist with other data at that same owner name. DNSSEC-related records form a validation chain. HTTPS and SVCB records describe service binding information and do not replace the entire DNS system.
Technical terms in this section
A DNS record
A records: maps hostname to ipv4. The RDATA format and interpretation are defined for this record type.
AAAA DNS record
AAAA records: maps hostname to ipv6. The RDATA format and interpretation are defined for this record type.
CNAME DNS record
CNAME records: creates an alias. The RDATA format and interpretation are defined for this record type.
MX DNS record
MX records: identifies mail exchange servers. The RDATA format and interpretation are defined for this record type.
TXT DNS record
TXT records: stores text-based configuration. The RDATA format and interpretation are defined for this record type.
NS DNS record
NS records: identifies authoritative nameservers. The RDATA format and interpretation are defined for this record type.
SOA DNS record
SOA records: contains dns zone authority information. The RDATA format and interpretation are defined for this record type.
PTR DNS record
PTR records: reverse dns mapping. The RDATA format and interpretation are defined for this record type.
SRV DNS record
SRV records: service discovery. The RDATA format and interpretation are defined for this record type.
CAA DNS record
CAA records: controls authorized certificate issuers. The RDATA format and interpretation are defined for this record type.
DS DNS record
DS records: dnssec delegation. The RDATA format and interpretation are defined for this record type.
DNSKEY DNS record
DNSKEY records: dnssec public keys. The RDATA format and interpretation are defined for this record type.
RRSIG DNS record
RRSIG records: dnssec signatures. The RDATA format and interpretation are defined for this record type.
NSEC / NSEC3 DNS record
NSEC / NSEC3 records: authenticated denial of existence. The RDATA format and interpretation are defined for this record type.
TLSA DNS record
TLSA records: tls certificate association. The RDATA format and interpretation are defined for this record type.
SSHFP DNS record
SSHFP records: ssh fingerprint. The RDATA format and interpretation are defined for this record type.
HTTPS DNS record
HTTPS records: https service binding information. The RDATA format and interpretation are defined for this record type.
SVCB DNS record
SVCB records: general service binding. The RDATA format and interpretation are defined for this record type.
DNAME DNS record
DNAME records: dns subtree alias. The RDATA format and interpretation are defined for this record type.
NAPTR DNS record
NAPTR records: naming authority pointer. The RDATA format and interpretation are defined for this record type.
LOC DNS record
LOC records: geographic location data. The RDATA format and interpretation are defined for this record type.
Wildcard DNS
DNS wildcards synthesize answers for eligible unmatched names under defined DNS rules.
Split-horizon DNS
Split-horizon DNS serves different views according to client location or policy.
Round-robin DNS
Round-robin DNS rotates address answers without guaranteeing equal application load or immediate failover.
GeoDNS
GeoDNS tailors answers using location estimates and service policy, with resolver-location limitations.
DNS failover
DNS failover switches answers toward alternate endpoints but remains constrained by detection and caching.
Dynamic DNS
Dynamic DNS updates records automatically as addresses or service state change.
Reverse DNS zones
Reverse DNS zones map address-derived names to PTR data under in-addr.arpa or ip6.arpa.
DNS zone transfers
DNS zone transfers synchronize zone data between authorized servers.
AXFR and IXFR
AXFR transfers a full zone; IXFR transfers incremental differences where supported.
EDNS
EDNS extends DNS messaging with options and negotiated capabilities.
DNS troubleshooting
DNS troubleshooting separates registration, delegation, authoritative publication, caching and validation failures.
Operational checks and security
Check the owner name, trailing dot behavior, TTL, target and priority together. A valid-looking record may still point at an unavailable service. Validate signed data through a validating resolver rather than treating the presence of an RRSIG alone as proof of successful validation.
Read-only example
These commands inspect the surrounding system or protocol. They do not automatically change its configuration or establish every property of this term. Replace example targets only with destinations you are authorized to inspect.
dig example.com MX
dig example.com CAA
dig example.com HTTPS
Sources and further reading
These explanations are educational. Implementations, policies and standards evolve; check the current specification and software version before changing a system.