LLevelUp
0
← Back to topic

DNS Zones and Records

Cloudflare DNS starts with a zone: one domain managed by Cloudflare nameservers. Inside the zone, records tell browsers and mail servers where to send traffic.

RecordPurpose
AMaps a name to an IPv4 address
AAAAMaps a name to an IPv6 address
CNAMEAliases one hostname to another
MXRoutes email for a domain
TXTStores verification and policy values
example.com.     A      203.0.113.10
www.example.com. CNAME  example.com.
example.com.     TXT    "v=spf1 include:_spf.google.com ~all"

TIP

For web apps, expect at least one root record (example.com) and often one www record.

TTL controls how long resolvers can cache a record. Lower TTL helps during migrations, but Cloudflare proxied records often hide origin changes behind the proxy.

Further Learning

  • “Cloudflare DNS records” — official record type docs
  • “dig command DNS lookup” — terminal verification
  • “DNS propagation explained” — why changes are not always instant