DNS & Domain7 min read

What Are DNS Records (A, AAAA, MX, CNAME, TXT) Explained? Complete Guide

A detailed breakdown of all primary DNS record types, their syntax, parameters, use cases, and how they instruct internet traffic routing.

D
DNSChecker Telemetry Team
DNS Architecture Specialist
Published: November 2026
Companion Diagnostic Tool

Query All DNS Record Types

Test your domain or IP address in real time with our free online network scanner.

Launch Tool

DNS zone files consist of structured resource records. Each record type fulfills a specific function in web hosting, email delivery, server aliasing, and cryptographic domain ownership verification.

1. A & AAAA: Host Address Mapping

The A record maps a domain name directly to a 32-bit IPv4 address (e.g. 76.76.21.21). The AAAA record (quad-A) maps the domain to a 128-bit IPv6 address (e.g. 2606:4700::6810:84e5).

Frequently Asked Questions

Can I put a CNAME record on the root apex domain (example.com)?

Per RFC 1912, standard CNAME records cannot coexist with other records (like MX, NS, SOA) at the zone apex. Modern DNS providers use 'CNAME Flattening' or ANAME/ALIAS records to circumvent this limitation.

Share this technical guide: