Authoritative DNS Zone Records and Proxy Status
How authoritative DNS zones and records work, how to add apex and address records, and what proxied versus DNS-only means.
This page summarizes Cloudflare DNS documentation on authoritative DNS: what zones and records are, how visitors reach your site, and how proxy status changes what resolvers see versus where traffic actually goes. Cloudflare DNS is an authoritative service on a global anycast network; it is separate from consumer resolvers such as 1.1.1.1.
Authoritative DNS: what a zone answers for visitors
Section titled “Authoritative DNS: what a zone answers for visitors”Authoritative DNS is the service whose nameservers give the final mapping from a hostname (for example example.com or blog.example.com) to the IP address that hosts content.
Authoritative DNS refers to the service whose nameservers provide the final answer mapping a hostname (such as example.com or blog.example.com) to the IP address that hosts the corresponding content or resources.
— Cloudflare, Concepts
The Domain Name System translates human-readable names into addresses. A DNS query is a lookup; DNS records on authoritative servers are the source of truth for what exists where.
The Domain Name System (DNS) translates human-readable domain names (like example.com) into IP addresses that computers use to locate each other on the Internet.
— Cloudflare, Concepts
Resolvers (for example on your router or a public resolver) walk the hierarchy from root to TLD to your domain’s nameserver; the authoritative nameserver returns the record set. Cloudflare describes that chain in What is DNS? and How Cloudflare DNS works.
DNS records are instructions that live in the authoritative DNS servers and provide information about a zone. This includes what IP address is associated with a particular domain, but can also cover many other use cases, such as directing emails to a mail server or validating ownership of a domain.
— Cloudflare, Concepts
If authoritative DNS is slow or unreachable, visitors may not reach your site. Cloudflare DNS is positioned as fast, resilient authoritative DNS on Cloudflare’s global network, with optional DNSSEC, CNAME flattening at apex on paid plans, and DDoS-related resilience described on the DNS product page.
DNS zone and apex: where record control starts
Section titled “DNS zone and apex: where record control starts”A DNS zone is the administrative boundary for records on a domain and its subdomains.
A DNS zone is an administrative boundary that defines who controls the DNS records for a given domain and its subdomains. For example, the zone for example.com contains the records for example.com and its subdomains like blog.example.com.
— Cloudflare, Concepts
Each domain added to a Cloudflare account appears as a zone; many products are configured at zone level (Accounts, zones, and profiles). Zone apex means the name you are managing at the root of that zone—typically example.com or a delegated subdomain zone.
Zone apex refers to the domain (example.com) or subdomain (blog.example.com) that you are adding to Cloudflare.
— Cloudflare, Create zone apex record
In the dashboard, the apex record name is @. Records quick scan expects most full setups to have at least one address record at @ pointing at the host, and often www as a CNAME or A record.
Manage DNS records: dashboard, API, and CLI
Section titled “Manage DNS records: dashboard, API, and CLI”DNS records make hostnames and services reachable. Common fields when managing records at Cloudflare are Type, Name, Content, TTL, and Proxy status (for A, AAAA, and CNAME).
| Field | Role |
|---|---|
Type |
Purpose of the record (A, MX, TXT, etc.) |
Name |
Hostname or @ for apex |
Content |
Type-specific value (IP, target hostname, text) |
TTL |
How long resolvers cache the answer |
Proxy status |
Whether HTTP/S goes through Cloudflare (orange cloud) or is DNS-only (grey cloud) |
See Manage DNS records and Create DNS records.
Create a zone apex record (A, AAAA, or CNAME)
Section titled “Create a zone apex record (A, AAAA, or CNAME)”For the apex, choose A, AAAA, or CNAME depending on whether you point to an IPv4 address, IPv6 address, or another hostname. Use @ as the name.
To create a zone apex record, use @ for the record Name, as in the following example.
— Cloudflare, Create zone apex record
In the dashboard: open DNS Records, Add record, set type and @, enter content, set proxy status and TTL, then Save. The same page documents the Create DNS Record API with name set to the zone apex.
The usual full setup is: add the domain, import or create records, then point nameservers at Cloudflare so it becomes primary authoritative DNS (Get started).
Create records with the API or cf CLI
Section titled “Create records with the API or cf CLI”API creation uses POST on zones/$ZONE_ID/dns_records with token permissions such as DNS Write / Create DNS Record (DNS record types).
The Cloudflare CLI follows list → preview → apply: cf zones list, cf dns records list --zone example.com, optional --dry-run, then cf dns records create (Manage resources from the command line). Zone-scoped commands accept --zone with zone ID or domain name (Get started).
DNS record types people set first
Section titled “DNS record types people set first”Full reference: DNS record types. Limits that often surprise operators:
Each DNS record has a maximum wire format size of 4,096 bytes. Wire format refers to how a record is encoded when transmitted over the DNS protocol (RFC 1035 ↗︎).
— Cloudflare, DNS record types
If you have multiple records with the same name and type, their combined content length must not exceed 8,192 characters.
— Cloudflare, DNS record types
A and AAAA: point a name at an origin IP
Section titled “A and AAAA: point a name at an origin IP”A and AAAA records ↗︎ map a domain name to one or multiple IPv4 or IPv6 address(es).
— Cloudflare, DNS record types
Content must be your origin address, not a Cloudflare anycast IP used when proxied. TTL: if proxy status is Proxied, TTL defaults to Auto (300 seconds); for DNS only, you can set TTL.custom. Alternative IPv4 notations (for example 1.1 for 1.0.0.1) are not supported for A records.
For originless proxied placeholders (redirect-only or parked domains), Cloudflare documents reserved documentation addresses 192.0.2.0 (IPv4) or 100:: (IPv6) so traffic is handled at the edge (Manage DNS records — Originless setups).
CNAME at apex and flattening
Section titled “CNAME at apex and flattening”At apex, a plain CNAME is often invalid in classic DNS; Cloudflare’s CNAME flattening lets paid accounts flatten CNAMEs for performance and apex use. Create zone apex record allows apex CNAME to an FQDN target when that matches your hoster’s guidance.
MX and TXT: email and verification
Section titled “MX and TXT: email and verification”A mail exchange (MX) record is required to deliver email to a mail server.
— Cloudflare, DNS record types
A text (TXT) record ↗︎ lets you enter text into the DNS system.
— Cloudflare, DNS record types
TXT is commonly used for domain ownership checks before TLS issuance; quoting must be consistent or Cloudflare may auto-wrap strings. For SPF, the dashboard email wizard is preferred over ad hoc TXT when possible (DNS record types — TXT).
Tunnel and other CNAME targets
Section titled “Tunnel and other CNAME targets”For Cloudflare Tunnel, use CNAME with target <UUID>.cfargotunnel.com. The DNS record and tunnel process are independent—a stopped tunnel leaves the record in place and visitors may see error 1016 (Routing).
Proxy status: what resolvers see vs where HTTP goes
Section titled “Proxy status: what resolvers see vs where HTTP goes”Proxy status applies to A, AAAA, and CNAME and defines whether requests route through Cloudflare.
When a record is proxied, Cloudflare responds with anycast IPs, which speeds up and protects HTTP/S traffic with our cache/CDN ↗︎, DDoS protection, WAF, and more.
— Cloudflare, Get started
For proxied names, the content IP is still the origin Cloudflare uses to fetch; DNS answers may show Cloudflare edge IPs instead (Use BYOIP with CDN and Spectrum explains ingress vs origin with address maps).
HTTPS records on proxied names: with Universal SSL enabled, Cloudflare synthesizes HTTPS records; manually added HTTPS records on proxied names are not served. For DNS-only names, manual HTTPS records work only if all records with the same name are DNS-only (DNS record types — Proxied vs DNS-only).
Round-robin: multiple A/AAAA records with the same name are possible; behavior depends on each record’s proxy status (Round-robin DNS).
Common mistakes and how to avoid them
Section titled “Common mistakes and how to avoid them”- Wrong apex or missing
@record — Visitors cannot reach the naked domain; align apex with your hoster (Create zone apex record). - Origin IP set to a Cloudflare proxy IP —
A/AAAAcontent must be the real origin (DNS record types — A and AAAA). - Mixed proxy on the same name with manual HTTPS — Manual HTTPS is dropped if any sibling record is proxied (DNS record types).
- Tunnel DNS without a running tunnel — CNAME remains; users see 1016 until the tunnel serves the hostname (Routing).
- Importing zone files with
$INCLUDE— Not supported; import fails with$INCLUDE directive not allowed(Import and export records). - Partner-hosted zones — If a hosting partner added the domain, DNS may need to be managed at the partner (Create DNS records).
For name collisions and CNAME rules, see Records with the same name and Troubleshooting hub links from DNS FAQ.
How to check this on your site
Section titled “How to check this on your site”- In the Cloudflare dashboard, open DNS → Records for your zone and confirm apex (
@) andwww(or your app hostname) match your origin or tunnel target as in Create zone apex record and Records quick scan. - Compare Proxy status on each
A,AAAA, andCNAMEwith your intent (edge proxy vs DNS-only email or third-party targets) using Get started — proxy status. - From a resolver outside your network, look up the hostname and check that answers match proxied (Cloudflare anycast) or DNS-only (your content IP) expectations; background on resolvers vs authoritative DNS is in 1.1.1.1 FAQ — What do DNS resolvers do?.
- After API or CLI changes, list records with the Create DNS Record API pattern or
cf dns records list --zone example.com(Manage resources from the command line). - You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about, and we will correct or clarify it.