DNS Record Reference
v1.0.0Browse all DNS record types with syntax, examples, and RFC references.
20 record types found
Address Record
Maps a hostname to an IPv4 address.
Syntax
name TTL IN A <ipv4>Example
example.com. 3600 IN A 93.184.216.34IPv6 Address Record
Maps a hostname to an IPv6 address.
Syntax
name TTL IN AAAA <ipv6>Example
example.com. 3600 IN AAAA 2606:2800:220:1:248:1893:25c8:1946Canonical Name Record
Creates an alias from one hostname to another. Cannot coexist with other records for the same name.
Syntax
alias TTL IN CNAME targetExample
www.example.com. 3600 IN CNAME example.com.Mail Exchange Record
Specifies mail servers responsible for receiving email for the domain. Lower priority value = higher priority.
Syntax
name TTL IN MX priority targetExample
example.com. 3600 IN MX 10 mail.example.com.Text Record
Stores arbitrary text data. Used for SPF, DKIM, DMARC, domain verification, and more.
Syntax
name TTL IN TXT "text"Example
example.com. 3600 IN TXT "v=spf1 include:_spf.google.com ~all"Nameserver Record
Delegates a DNS zone to authoritative nameservers.
Syntax
name TTL IN NS nameserverExample
example.com. 3600 IN NS ns1.example.com.Start of Authority Record
Contains administrative information about the DNS zone including the primary nameserver and zone serial number.
Syntax
name TTL IN SOA mname rname serial refresh retry expire minimumExample
example.com. IN SOA ns1.example.com. admin.example.com. 2024010101 3600 900 604800 300Pointer Record
Maps an IP address back to a hostname (reverse DNS lookup).
Syntax
reversed-ip.arpa. TTL IN PTR hostnameExample
34.216.184.93.in-addr.arpa. IN PTR example.com.Service Record
Specifies the location of services within a domain. Used by VoIP, XMPP, and other protocols.
Syntax
_service._proto.name TTL IN SRV priority weight port targetExample
_xmpp-server._tcp.example.com. 86400 IN SRV 5 0 5269 xmpp.example.com.Certification Authority Authorization
Restricts which certificate authorities (CAs) are allowed to issue SSL/TLS certificates for your domain.
Syntax
name TTL IN CAA flag tag valueExample
example.com. 3600 IN CAA 0 issue "letsencrypt.org"Sender Policy Framework
Specifies which mail servers are authorized to send email on behalf of the domain. Stored as a TXT record.
Syntax
name TTL IN TXT "v=spf1 ..."Example
example.com. IN TXT "v=spf1 ip4:192.0.2.0/24 include:sendgrid.net -all"DomainKeys Identified Mail
Public key stored as TXT record, used to verify email signatures. Record name format: selector._domainkey.domain.
Syntax
selector._domainkey.name TTL IN TXT "v=DKIM1; k=rsa; p=<pubkey>"Example
default._domainkey.example.com. IN TXT "v=DKIM1; k=rsa; p=MIGfMA0..."DMARC Policy
Policy for how receivers should handle email that fails SPF and DKIM checks. Stored as TXT at _dmarc.
Syntax
_dmarc.name TTL IN TXT "v=DMARC1; p=policy; ..."Example
_dmarc.example.com. IN TXT "v=DMARC1; p=reject; rua=mailto:dmarc@example.com"DNS Key Record
Stores public keys for DNSSEC. Used to verify digital signatures in the DNS zone.
Syntax
name TTL IN DNSKEY flags protocol algorithm keyExample
example.com. 3600 IN DNSKEY 257 3 8 AwEAAba...Delegation Signer
Contains a hash of a child zone's DNSKEY. Used to establish a chain of trust in DNSSEC.
Syntax
name TTL IN DS keytag algorithm digesttype digestExample
example.com. 3600 IN DS 28349 8 2 A2B18FE...TLS Authentication Record
Associates a TLS server certificate or public key with the domain (DANE). Restricts which certs are valid.
Syntax
_port._proto.name TTL IN TLSA usage selector type cert-dataExample
_443._tcp.example.com. IN TLSA 3 1 1 2BB246...Naming Authority Pointer
Enables rewriting of domain names for use with URIs, telephone numbers, and other identifiers.
Syntax
name TTL IN NAPTR order pref flags service regexp replacementExample
example.com. IN NAPTR 100 10 "u" "E2U+sip" "!^.*$!sip:info@example.com!" .Location Record
Stores geographic location data (latitude, longitude, altitude) for a host.
Syntax
name TTL IN LOC d1 m1 s1 lat-hem d2 m2 s2 long-hem alt siz hp vpExample
example.com. IN LOC 51 30 12.748 N 0 7 39.611 W 0m 1m 10000m 10mHost Information
Historical record for documenting CPU type and OS. Rarely used today due to security concerns.
Syntax
name TTL IN HINFO cpu-type osExample
host.example.com. IN HINFO "x86-64" "Linux"SSH Fingerprint Record
Stores SSH public key fingerprints for SSHFP-enabled SSH clients to verify host keys automatically.
Syntax
name TTL IN SSHFP algorithm fingerprint-type fingerprintExample
host.example.com. IN SSHFP 3 2 9fd58fa6... # ECDSA SHA-256