Skip to content

Convert full setup to partial setup

If you initially configured a primary setup (full), you can later convert your zone to use a CNAME setup (also known as partial setup). This guide assumes your zone is already in an active status.

A CNAME setup allows you to use Cloudflare's reverse proxy on individual subdomains while using a different authoritative DNS provider.


Before you begin

Consider CNAME setup limitations

  • A CNAME setup requires a CNAME record for each proxied hostname but, following RFC 1912, CNAME records are not allowed on the zone apex (example.com). With a CNAME setup, you can only proxy the zone apex if your authoritative DNS provider supports CNAME flattening (or an equivalent like ALIAS/ANAME records), or if you create A/AAAA records pointing the apex directly to Cloudflare anycast IP addresses. Otherwise, you can only proxy subdomains.

  • Once your zone is using CNAME setup, on the dashboard, you will only be able to create A, AAAA, and CNAME records, which are the DNS record types that can be proxied.

Plan for SSL/TLS certificates

New Universal SSL certificates will be provisioned for your proxied subdomains only after each CNAME record pointing to {your-hostname}.cdn.cloudflare.net is in place, and domain ownership is verified with the TXT record, as explained below.

To avoid downtime, replace your Universal SSL certificates with an advanced certificate, which will persist during the transition. After the conversion, you can optionally configure delegated DCV.


1. Prepare new DNS provider

  1. Export a zone file

    To export records using the dashboard:

    1. In the Cloudflare dashboard, go to the DNS Records page.

      Go to Records
    2. Select Import and Export.

    3. Select Export.

  2. Import the zone file into your new primary DNS provider.

  3. At your new authoritative DNS provider, create or update records so that you have CNAME records pointing to {your-hostname}.cdn.cloudflare.net for every hostname you wish to proxy through Cloudflare.

    Example CNAME record at authoritative DNS provider

    The CNAME record for www.example.com would be:

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

2. Convert the zone

  1. On the Cloudflare dashboard, go to the zone's Overview page.

  2. Select Convert to CNAME DNS Setup and then Convert to confirm.

  3. Save the information from the Verification TXT Record and add the record at your new authoritative DNS provider. If you lose the information, you can also access it on the DNS Records page, under Verification TXT Record.

    Example verification record

    A verification record for example.com might be:

    TypeNameContent
    TXTcloudflare-verify.example.com966215192-518620144

3. Update your nameservers

Update the nameservers at your domain registrar to point to your new authoritative DNS provider. Make sure to remove the Cloudflare nameservers.

4. Clean up DNS records on Cloudflare

In Cloudflare, remove all records that are not of type A, AAAA, or CNAME, and also remove any A, AAAA, or CNAME records for hostnames you do not want to proxy after the conversion. After this cleanup, only the A, AAAA, or CNAME records for hostnames you want to proxy should remain in Cloudflare, and those same hostnames should have CNAME records pointing to {your-hostname}.cdn.cloudflare.net at your new authoritative DNS provider.