Setup

Last updated Jul 29, 2026 A CNAME setup (also known as partial setup) allows you to use Cloudflare's reverse proxy while maintaining your primary and authoritative DNS provider.

Use this option to proxy only individual subdomains through Cloudflare when you cannot change your authoritative DNS provider. You will be able to create A, AAAA, and CNAME records, which are the DNS record types that can be proxied.

Availability

A CNAME setup (partial) is only available to customers on a Business or Enterprise plan. Partial setups are not supported on Cloudflare Registrar domains.


Before you begin

  1. Create a Cloudflare account and add your domain.
  2. Choose Business or Enterprise as your plan.
  3. If you are onboarding a new domain to Cloudflare, ignore the instructions to change your nameservers.
  4. (Recommended) Plan for SSL/TLS certificates:

If you are only using Universal SSL prior to converting your zone, a certificate will be provisioned for your subdomains only after each of the respective DNS records (step 3 below) are proxied. Refer to Enable Universal SSL for details.

If your domain is sensitive to downtime, instead of using Universal SSL, consider using an advanced certificate with delegated DCV.

1. Convert your zone and review DNS records

Make sure you have the correct plan

Make sure your zone is on the Business or Enterprise plan. If you have Free or Pro, the options mentioned below will not be displayed.

  1. On the Overview page, select Convert to CNAME DNS Setup.
  2. Select Convert to confirm.
  3. Save the information from the Verification TXT Record. If you lose the information, you can also access it on the DNS Records ↗︎ page, under Verification TXT Record.
  4. Make sure that you have all the DNS records (A, AAAA, or CNAME) for subdomains that you want to proxy through Cloudflare.

If you are adding a zone for the first time via API you can add it directly with a type of partial, without converting it.

<details>

<summary>

Required API token permissions

</summary>

At least one of the following <a href="https://developers.cloudflare.com/fundamentals/api/reference/permissions/">token permissions</a> is required:

  • <code>Zone Zone Edit</code>
  • <code>Zone DNS Edit</code>

</details>

Create Zonebash

curl "https://api.cloudflare.com/client/v4/zones" \
    --request POST \
    --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --json '{
        "name": "example.com",
        "account": {
                "id": "YOUR_ACCOUNT_ID"
        },
        "type": "partial"
    }'

2. Verify ownership for your domain

Add the Verification TXT Record at your authoritative DNS provider. Cloudflare will verify the TXT record and send a confirmation email. This can take up to a few hours.

<details>

<summary>

Example verification record

</summary>

A verification record for <code>example.com</code> might be:

Type Name Content
TXT <code>cloudflare-verify.example.com</code> 966215192-518620144

</details>

Note

If your authoritative DNS provider automatically appends DNS record name fields with your domain, make sure to only insert cloudflare-verify as the record name. Otherwise, it may result in an incorrect record name, such as cloudflare-verify.example.com.example.com.

After creating the record, you can use this Dig Web Interface link ↗︎ to search (dig) for cloudflare-verify.<YOUR DOMAIN> and validate if it is working.

The verification record must remain in place for as long as your domain is active on a CNAME setup on Cloudflare.

If your organization has multiple Cloudflare accounts, also consider using zone holds to have more control over domain ownership.

Note

If your zone stays in Pending Nameserver Update status after adding the verification TXT record, confirm your authoritative DNS provider serves the record (for example, with dig TXT cloudflare-verify.<YOUR_DOMAIN> or a web-based tool such as digwebinterface.com ↗︎ or whatsmydns.net ↗︎). For the full activation troubleshooting flow, refer to Zone stuck in Pending Nameserver Update.

3. Add DNS records

  1. At your authoritative DNS provider:
  2. Create CNAME records pointing to {your-hostname}.cdn.cloudflare.net for every hostname you wish to proxy through Cloudflare.<details><summary>

Example CNAME record at authoritative DNS provider</summary>

The CNAME record for <code>www.example.com</code> would be:

txt www.example.com CNAME www.example.com.cdn.cloudflare.net

</details>

  1. Remove any previously existing A, AAAA, or CNAME records referencing the hostnames you want to proxy through Cloudflare. For these hostnames, leave only the records pointing to {your-hostname}.cdn.cloudflare.net.
  2. Repeat this process for each subdomain that should be proxied to Cloudflare.

Other record types

If you are preparing a conversion from CNAME setup (partial) to primary setup (full), or if you have a more specific use case, you can use the Create DNS Record API endpoint to create DNS records of any supported type.

Was this helpful?

YesNo

On this page

Setup - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/dns/zone-setups/partial-setup/setup/#page","headline":"Setup","description":"A CNAME setup (also known as partial) allows you to use Cloudflare's reverse proxy while maintaining your primary and authoritative DNS provider.","url":"https://developers.cloudflare.com/dns/zone-setups/partial-setup/setup/","inLanguage":"en","image":"https://developers.cloudflare.com/dns/zone-setups/partial-setup/setup/og.png?v=ec40c5890e55871c","dateModified":"2026-07-29","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: How Cloudflare scans and imports DNS records automatically. title: Records quick scan image: https://developers.cloudflare.com/dns/zone-setups/reference/dns-quick-scan/og.png?v=3e5ff0a82b2cfd01


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.