DNS setups

Last updated Aug 25, 2026 When using Cloudflare DNS, you have a few options for your DNS zone setup:

  • Primary setup (Full) (most common): Use Cloudflare as your primary DNS provider and manage your DNS records on Cloudflare.
  • CNAME setup (Partial): Keep your primary DNS provider and only use Cloudflare's reverse proxy for individual subdomains.
  • Zone transfers: Use Cloudflare and another DNS provider together across your entire zone to increase availability and fault tolerance. DNS records will be transferred between providers using AXFR ↗︎ or IXFR ↗︎.
  • Subdomain setup: With your apex domain ( example.com) on a CNAME setup (partial) or primary setup (full), independently manage the settings for a delegated subdomain ( blog.example.com) within a separate zone and, potentially, a separate account.

When configuring a subdomain setup, its availability will depend on both the parent zone setup and the setup used for the child zone. A child zone holds DNS management for a delegated subdomain.

Parent zone Child zone Available
Full or Secondary Full Yes
Full or Secondary Secondary Yes
Full or Secondary Partial No
Partial Full Yes
Partial Secondary Yes
Partial Partial Yes

For details, refer to setup.


Zone status

The possible statuses for a zone are the following:

  • Initializing
  • Pending
  • Active
  • Moved
  • Deleted
  • Purged

For details on each status and how a zone can transition from one status to the other, consider the Reference page.

Do not use pending zones in production

If you have a paid plan, make sure not to use pending zones for production traffic. Cloudflare responds to DNS queries for pending zones on the assigned Cloudflare nameserver IPs but there are associated risks, especially if you do not use zone holds.


Common use cases and availability

If you are unsure of which setup to use, consider the questions below for an overview of common use cases and their correspondence to each setup and different pricing plans ↗︎.

<details>

<summary>

Are you on a Free or Pro plan?

</summary>

If you are on a Free or Pro plan, <a href="https://developers.cloudflare.com/dns/zone-setups/full-setup/">primary setup (full)</a> is the only one available. This is the recommended and most common option.

</details>

<details>

<summary>

Will you be using Cloudflare with other DNS providers?

</summary>

If you are on a Business or Enterprise plan, you can use <a href="https://developers.cloudflare.com/dns/zone-setups/partial-setup/">CNAME setup (partial)</a> to keep your primary DNS provider and only proxy individual subdomains through Cloudflare.

If you are on an Enterprise plan, you also have the option to use <a href="https://developers.cloudflare.com/dns/zone-setups/zone-transfers/">zone transfers</a> to set up Cloudflare as either a primary or a secondary DNS provider.

</details>

<details>

<summary>

Do you need to manage subdomains separately?

</summary>

If you are on an Enterprise plan, you can use <a href="https://developers.cloudflare.com/dns/zone-setups/subdomain-setup/">subdomain setup</a> to manage the Cloudflare settings for one or more subdomains separately from your domain apex.

</details>

Configure DNS-only zones via API

You can configure zones to operate in DNS-only mode (no HTTP proxying) at the account level or per zone using the API.

Account-level default (applies to zones created after the setting is applied):

curl --request PATCH \
  https://api.cloudflare.com/client/v4/accounts/{account_id}/dns_settings \
  --header "Content-Type: application/json" \
  --data '{"zone_defaults":{"zone_mode":"dns_only"}}'

Per-zone (for existing zones):

curl --request PATCH \
  https://api.cloudflare.com/client/v4/zones/{zone_id}/dns_settings \
  --header "Content-Type: application/json" \
  --data '{"zone_mode":"dns_only"}'

Note

If you run your own authoritative nameservers but still want to benefit from Cloudflare's global anycast network, check out DNS Firewall.

Was this helpful?

YesNo

On this page

DNS setups - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/dns/zone-setups/#page","headline":"DNS setups","description":"Available DNS zone setup types and how to configure them.","url":"https://developers.cloudflare.com/dns/zone-setups/","inLanguage":"en","image":"https://developers.cloudflare.com/dns/zone-setups/og.png?v=d20f77cb46006d2a","dateModified":"2026-08-25","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Convert a full DNS setup to a partial CNAME setup. title: Convert full setup to partial setup image: https://developers.cloudflare.com/dns/zone-setups/conversions/convert-full-to-partial/og.png?v=257d785674f07224


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/dns/llms.txt
Use this file to discover all available pages before exploring further.