Skip to content

DNS Record Types

Reading time: 10 minutes

A DNS zone functions as a distributed database, where every entry is a Resource Record (RR). Each record type is assigned a unique integer Value (Type ID) by IANA and is defined by specific RFC standards.

1. Foundational Records

These records constitute the core routing logic of the domain name system.

TypeIDMeaningReference
A1Maps a hostname to a 32-bit IPv4 address.RFC1035
NS2Delegates a DNS zone to an authoritative name server.RFC1035
CNAME5Canonical Name. Maps an alias hostname to another hostname.RFC1035
SOA6Start of Authority. Specifies authoritative information about a DNS zone.RFC1035
PTR12Pointer. Maps an IP address back to a hostname (Reverse DNS).RFC1035
AAAA28Maps a hostname to a 128-bit IPv6 address.RFC3596

2. Service, Routing & Metadata

Records used for email delivery, service discovery, and arbitrary text data.

TypeIDMeaningReference
MX15Mail Exchange. Directs email to a mail server with a priority value.RFC1035
TXT16Text strings. Used for SPF, DKIM, DMARC, and site verification.RFC1035
SRV33Service Locator. Defines location (hostname/port) of specific services (e.g. SIP).RFC2782
NAPTR35Naming Authority Pointer. Used for URN resolution and VoIP/SIP.RFC3403
URI256Maps a hostname to a Uniform Resource Identifier (URI).RFC7553

3. Security & Validation (DNSSEC/DANE)

Records specifically designed to validate identity, integrity, and authenticity.

TypeIDMeaningReference
DS43Delegation Signer. The chain of trust anchor from parent to child zone.RFC4034
SSHFP44SSH Public Key Fingerprint. Publishes SSH host keys in DNS.RFC4255
RRSIG46Resource Record Signature. Contains the digital signature for a record set.RFC4034
NSEC47Next Secure. Proof of non-existence for a record name.RFC4034
DNSKEY48The public key used to verify RRSIG signatures.RFC4034
NSEC350Hashed version of NSEC to prevent zone enumeration.RFC5155
TLSA52TLS Certificate Association. Pin certificates to a domain (DANE).RFC6698
OPENPGPKEY61Public key for OpenPGP.RFC7929
CAA257Certification Authority Authorization. Restricts which CAs can issue certificates.RFC8659

4. Modern & Emerging Standards

Newer record types focused on performance (binding), privacy, and blockchain/Web3 integration.

TypeIDMeaningReference
ZONEMD63Message Digest for DNS Zones. Verifies data integrity for an entire zone.RFC8976
SVCB64Service Binding. General-purpose mechanism for service connection params.RFC9460
HTTPS65SVCB-compatible record specifically for HTTP(S) bootstrapping (ALPN, ECH).RFC9460
RESINFO261Resolver Information. Exposes resolver capabilities as key/value pairs.RFC9606
WALLET262Maps a domain to a public wallet address (Web3/Crypto).Paul_Hoffman

5. Other Assigned Types

The IANA registry includes many specific or experimental types.

TypeIDPurposeStatus/Ref
HINFO13Host CPU and OS type information.RFC1035
LOC29Geographical Location (Lat/Long).RFC1876
CERT37Stores certificates (PKIX, SPKI, PGP, etc.).RFC4398
DNAME39Delegated Name. Aliases an entire subtree of the domain space.RFC6672
OPT41EDNS0 Option pseudo-record.RFC6891
TKEY249Transaction Key.RFC2930
TSIG250Transaction Signature.RFC8945
AXFR252Zone Transfer (Request to transfer entire zone).RFC1035
MAILB253Mailbox-related records (MB, MG, MR).RFC1035
ANY255A request for all records (wildcard).RFC1035

6. Deprecated or Obsolete

The following types are generally considered obsolete, experimental, or deprecated. Modern resolvers may ignore them.

Values: 3 (MD), 4 (MF), 7 (MB), 8 (MG), 9 (MR), 10 (NULL), 11 (WKS), 14 (MINFO), 17 (RP), 18 (AFSDB), 19 (X25), 20 (ISDN), 21 (RT), 22 (NSAP), 23 (NSAP-PTR), 24 (SIG), 25 (KEY), 26 (PX), 27 (GPOS), 30 (NXT), 31 (EID), 32 (NIMLOC), 34 (ATMA), 36 (KX), 38 (A6), 40 (SINK), 42 (APL), 99 (SPF - use TXT), 254 (MAILA).