; record type reference

DNS Record Type Reference

Every DNS record type explained — syntax, real-world examples, and when to use each one.

12 record types

; quick reference

TypeFull nameCategoryPrimary use
AAddress RecordCorePoint your domain or subdomain to a web server, load balancer, or any IPv4-addressed host.
AAAAIPv6 Address RecordCoreEnable IPv6 connectivity for your domain. Modern hosting providers support dual-stack (A + AAAA) by default.
CNAMECanonical Name RecordCoreAlias subdomains to third-party services (Shopify, GitHub Pages, Heroku) or to your apex domain.
MXMail Exchanger RecordEmailRoute inbound email to your mail provider (Google Workspace, Microsoft 365, Fastmail, etc.).
TXTText RecordEmailSPF email authentication, DKIM public keys, DMARC policy, Google/Microsoft site verification, ACME DNS challenges.
NSNameserver RecordCoreSet at your registrar to point to your DNS provider. Also used to delegate subdomains to separate DNS zones.
SOAStart of AuthorityCoreAutomatically managed by your DNS provider. Defines zone serial number, refresh, retry, expire, and minimum TTL.
PTRPointer RecordReverse DNSEmail deliverability (mail servers check PTR records), server identification, network diagnostics, and security auditing.
CAACertification Authority AuthorizationSecurityPrevent unauthorized certificate issuance. Recommended for any domain with HTTPS — especially high-security or regulated environments.
SRVService RecordServicesVoIP (SIP), XMPP/Jabber, Microsoft Teams federation, CalDAV/CardDAV, and other protocol-specific service discovery.
DKIMDomainKeys Identified MailEmailEmail authentication — allows receiving servers to verify that email was signed by an authorized sender and was not tampered with.
SPFSender Policy FrameworkEmailPrevent email spoofing. Receiving servers check SPF to verify the sending server is authorized.