DNS Record Types

DNS records are instructions stored in DNS servers that provide information about a domain, including IP addresses (A and AAAA), mail servers (MX), and other details.

A Record

Maps a domain name to an IPv4 address.

example.com → 192.0.2.1

AAAA Record

Maps a domain name to an IPv6 address.

example.com → 2001:db8::1

MX Records

Specifies mail servers for receiving email.

example.com → mail.example.com

TXT Records

Contains text information for verification.

SPF, DKIM, DMARC

NS Record

Delegates a zone to use authoritative name servers.

example.com → ns1.example.com

CNAME Records

Maps an alias to the canonical name.

www → example.com

SOA Record

Contains administrative information about the zone.

Serial, Refresh, Retry

CAA Records

Specifies allowed certificate authorities.

issue "letsencrypt.org"

SRV Records

Locates services (SIP, LDAP, etc).

_sip._tcp → sip.example.com

PTR Records

Reverse DNS lookup (IP to domain).

192.0.2.1 → example.com
Try it on your domain

See the theory in practice — run a DNS Lookup for your own domain.