All tools

DNS Record Types

A reference for common DNS record types and what they do.

Showing 17 of 17 entries

TypeNamePurposeExample
AAddressMaps a hostname to a 32-bit IPv4 address.example.com → 93.184.216.34
AAAAIPv6 AddressMaps a hostname to a 128-bit IPv6 address.example.com → 2606:2800:220:1:248:1893:25c8:1946
CNAMECanonical NameAliases one name to another; the lookup continues at the target name.www → example.com
MXMail ExchangeSpecifies the mail servers responsible for accepting email, with a priority value.10 mail.example.com
TXTTextHolds arbitrary text, widely used for SPF, DKIM, and domain verification.v=spf1 include:_spf.google.com ~all
NSName ServerDelegates a DNS zone to the listed authoritative name servers.ns1.example.com
SOAStart of AuthorityStores administrative information about a zone, including the primary name server and serial number.ns1.example.com admin.example.com
PTRPointerMaps an IP address to a hostname for reverse DNS lookups.34.216.184.93.in-addr.arpa → example.com
SRVServiceDefines the host and port for specific services such as SIP or XMPP._sip._tcp 10 60 5060 sip.example.com
CAACertification Authority AuthorizationSpecifies which certificate authorities may issue certificates for the domain.0 issue "letsencrypt.org"
DNSKEYDNS KeyHolds a public signing key used by DNSSEC to verify records.—
DSDelegation SignerLinks a child zone to its parent for the DNSSEC chain of trust.—
RRSIGResource Record SignatureContains a DNSSEC signature for a set of records.—
NAPTRName Authority PointerUsed for rule-based rewriting of domain names, often in telephony (ENUM).—
TLSATLS AssociationAssociates a TLS certificate with a domain name for DANE.—
HTTPSHTTPS BindingProvides connection parameters (like ALPN and IP hints) for HTTPS endpoints.1 . alpn=h2
SVCBService BindingGeneric service binding record that HTTPS records are based on.—

Understanding DNS Records

The Domain Name System (DNS) is the phone book of the internet, translating human-friendly domain names into the addresses and configuration that networks need. Each record type serves a specific purpose, from pointing a domain at a server to routing email and proving ownership.

The essential records

  • A and AAAA point a domain to an IPv4 / IPv6 address
  • CNAME aliases one name to another
  • MX directs email to the right mail servers
  • TXT holds verification and policy data (SPF, DKIM)
  • NS delegates a zone to its name servers

TTL and propagation

Every record has a Time To Live (TTL) that tells resolvers how long to cache it. Lower TTLs mean changes propagate faster but increase query load; higher TTLs are more efficient but slower to update.

DNS in everyday development

Setting up a custom domain, configuring email deliverability, issuing TLS certificates, and verifying ownership with a provider all come down to creating the right DNS records. Knowing which record type does what turns a confusing control panel into a quick, confident edit.

Frequently Asked Questions

Common questions about the DNS Record Types Reference.

What is the difference between an A and AAAA record?
An A record maps a hostname to an IPv4 address, while an AAAA record maps it to an IPv6 address.
What does an MX record do?
An MX (Mail Exchange) record specifies which mail servers accept email for a domain, along with a priority value.
What is a TXT record used for?
TXT records hold arbitrary text and are widely used for email authentication (SPF, DKIM) and domain ownership verification.

More Developer Utilities

View all tools →
JSON ValidatorJSON MinifierJSON to CSVCSV to JSONJSON to XMLXML to JSONJSON to YAMLYAML to JSON
File Transfer