Domain Onboarding: DNS Records, Nameservers, and Zone Status
How to add a website to Cloudflare, review DNS, update nameservers, set proxy status, and confirm an Active zone.
This page summarizes Cloudflare documentation on onboarding a domain (adding a site as a DNS zone), the usual full setup with authoritative nameservers, and what must be true before caching, the WAF, Tunnel, and most security products work. The same onboarding path appears in Onboard a domain, Set up a primary zone (Full setup), and Add a site.
Onboard a domain: when you need to add a site
Section titled “Onboard a domain: when you need to add a site”You onboard a domain when you want Cloudflare to act as reverse proxy and DNS provider for an existing registered name, or when a feature’s prerequisites say you must add a domain and (for most application security and performance features) proxy DNS records so traffic passes through Cloudflare’s network first.
After you onboard your domain, Cloudflare will act as the reverse proxy and DNS provider for your site.
— Cloudflare, Onboard a domain
You will need to update your domain’s nameservers and proxy your web traffic to benefit from caching, DDoS protection, Argo Smart Routing, and other application security and performance products.
— Cloudflare, Domains
Many guides only repeat a short prerequisite (“Add a website to Cloudflare”); the operational work is the onboarding flow below plus correct DNS and nameserver state.
Full setup vs partial (CNAME) setup
Section titled “Full setup vs partial (CNAME) setup”Full setup is the default pattern in the cluster: Cloudflare becomes your authoritative DNS provider after you point the domain’s nameservers at Cloudflare.
This process makes Cloudflare your authoritative DNS provider, allowing your DNS queries and web traffic to be served from and protected by the Cloudflare network.
— Cloudflare, Add a site
Partial (CNAME) setup is a Business or Enterprise option where you keep nameservers elsewhere and verify ownership with a TXT record; it is required for some Access scenarios and incompatible with every hosting pattern (for example Wix does not support Cloudflare nameservers). See Setup and Publish a self-hosted application to the Internet.
| Setup | Nameservers | Typical plan | Traffic through Cloudflare edge |
|---|---|---|---|
| Full (primary zone) | Changed at registrar to Cloudflare | Free and paid | When records are Proxied (orange cloud) |
| Partial (CNAME) | Stay at current DNS host | Business or Enterprise | Proxied hostnames only; verification TXT stays in place |
Add your domain in the dashboard
Section titled “Add your domain in the dashboard”Onboard a domain: apex name and plan
Section titled “Onboard a domain: apex name and plan”-
Log in to the Cloudflare dashboard and open Domains (Go to Domains).
-
Select Onboard a domain and enter the apex domain (for example
example.com), not a deep subdomain unless your contract allows Subdomain setup (Enterprise). -
Choose how to import DNS records (quick scan or manual) and select Continue, then choose a plan.
Enter your website’s apex domain (for example, example.com), choose how you would like to add your DNS records, and select Continue.
— Cloudflare, Onboard a domain
Cloudflare validates that the name is a real registrable domain on the Public Suffix List (PSL):
Cloudflare requires your apex domain to be one level below a valid TLD defined in the Public Suffix List (PSL). For instance, example.com is valid but level2.example.com or example.home are not.
— Cloudflare, Onboard a domain
For clientless access, the same onboarding flow applies; Free plan is explicitly sufficient for Zero Trust domain tasks in that guide.
Review DNS records before nameserver change
Section titled “Review DNS records before nameserver change”Confirm DNS records: scan limits and missing records
Section titled “Confirm DNS records: scan limits and missing records”After onboarding, review records on DNS → Records (Confirm DNS records, Set up a primary zone (Full setup)). The quick scan is not guaranteed to find every existing record.
Since the quick scan is not guaranteed to find all existing DNS records, you need to review your records, paying special attention to the following: Zone apex records … Subdomain records … Email records
— Cloudflare, Onboard a domain
If you activate your domain on Cloudflare without setting up the correct DNS records for your domain, your visitors may experience DNS_PROBE_FINISHED_NXDOMAIN errors.
— Cloudflare, Set up a primary zone (Full setup)
Pay special attention to:
- Zone apex (
example.com):A,AAAA, orCNAMEpointing to your host (Custom domains for Pages apex requires a Cloudflare zone and nameservers). wwwand other subdomains: often mirror apex or redirect; missingwwwbreaks visitors who typewww..- Email:
MX, SPF (TXT),DKIM,DMARC— usually DNS only (gray cloud). Example shapes are in Onboard a domain and Set up a primary zone (Full setup).
Minimize downtime recommends reviewing DNS before activation. If you use the WordPress APO plugin, confirm DNS records before changing nameservers, then activate the plugin after the nameserver change.
Proxy status: orange cloud vs gray cloud
Section titled “Proxy status: orange cloud vs gray cloud”Each compatible record has a proxy status toggle:
- Proxied (orange cloud): HTTP/S (and related) traffic is served from Cloudflare’s edge — required for application security, APIs and microservices, e-commerce, Smart Shield, and most performance features (Performance use case).
- DNS only (gray cloud): Cloudflare answers DNS but does not proxy; use for validation CNAMEs, most mail records, and some third-party verifications (Vendor-specific DNS records).
A domain added to Cloudflare with DNS records proxied through Cloudflare. This is required for API Shield, rate limiting, and application security.
— Cloudflare, APIs and microservices
Web Analytics automatic setup needs proxied traffic; DNS-only zones need manual snippet setup.
Update nameservers at your registrar
Section titled “Update nameservers at your registrar”Where to change nameservers
Section titled “Where to change nameservers”Nameserver changes are made at your registrar (where the domain was registered), which may differ from your web host:
Make the change at your registrar, which is where you registered your domain. This may or may not be your hosting provider
— Cloudflare, FAQ
Use ICANN Lookup if you do not know the registrar. Cloudflare’s onboarding UI lists registrar-specific help links (Add a site, FAQ).
Before switching:
- Copy the assigned Cloudflare nameservers from DNS → Records (Convert partial setup to full setup).
- Turn DNSSEC off at the registrar before proceeding (Add a site).
- Expect registrar propagation up to 24 hours (Add a site).
If you cannot change nameservers, Cloudflare documents partner activation (Add a site) or partial setup (Setup).
Zone status: Pending Nameserver Update and Active
Section titled “Zone status: Pending Nameserver Update and Active”New zones often sit in Pending Nameserver Update until the registrar publishes Cloudflare nameservers (Add multiple sites via automation). For partial setup, a missing or wrong cloudflare-verify TXT record can leave the zone stuck; use dig or Dig Web Interface and Zone stuck in Pending Nameserver Update (linked from that doc).
Active means Cloudflare accepted nameserver changes or the verification TXT record:
Cloudflare has authenticated your nameserver changes or verification TXT record and you can proxy domain traffic through Cloudflare.
— Cloudflare, Zone status
Clientless access requires the domain in Active status before use.
Add multiple domains with the Zones API
Section titled “Add multiple domains with the Zones API”For bulk onboarding, Add multiple sites via automation loops over a domain list and calls POST https://api.cloudflare.com/client/v4/zones with "type": "full". Each created zone starts in Pending Nameserver Update. Respect API limitations on batch size.
The same endpoint appears in Set up a primary zone (Full setup) with required token permissions Zone Edit or Zone DNS Edit. After API creation, you can trigger a DNS records scan via the documented Trigger DNS Records Scan endpoint (mentioned in Set up a primary zone (Full setup)).
Once onboarded, copy Account ID and Zone ID from the domain Overview API section or Workers & Pages (Find account and zone IDs) for CI/CD and automation (GitHub Actions, GitLab CI/CD).
Cannot add domain: eligibility and troubleshooting
Section titled “Cannot add domain: eligibility and troubleshooting”If onboarding fails, start with Cannot add domain.
Common conditions from the onboarding docs:
- Apex not exactly one level below a PSL TLD (Onboard a domain).
- Domain not recognized as registered — use a standard TLD (Add a site).
- Wrong hostname level onboarded (subdomain instead of apex without Enterprise subdomain setup).
DNS best-practice learning paths treat adding domains as preparation before the migration window (Phase 2: Preparation, Phase 3: Execution).
Common mistakes
Section titled “Common mistakes”- Proceeding to nameserver change without apex,
www, or mail records reviewed. - Leaving validation or mail records proxied when the vendor requires DNS only (Vendor-specific DNS records).
- Enabling DNSSEC at the registrar while Cloudflare nameservers are not yet active, or forgetting to add the DS record after enabling DNSSEC in Cloudflare (Convert partial setup to full setup).
- Assuming Active zone status alone enables edge features without orange-cloud records (Smart Shield get started).
How to check this on your site
Section titled “How to check this on your site”- In the Cloudflare dashboard, open your domain Overview and confirm zone status is Active per Zone status.
- On DNS → Records, verify apex and
wwwpoint to your origin or host guidance (Onboard a domain) and that web records show Proxied if you need edge security or caching (Application security). - From your machine, confirm public nameservers match Cloudflare’s assigned pair (registrar change completed); if unsure who hosts DNS, use ICANN Lookup and your registrar’s panel (FAQ).
- For partial setups, run
dig TXT cloudflare-verify.<your-domain>or use the Dig Web Interface to confirm the verification TXT is visible before expecting activation. - 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 sentence you are asking about so it can be corrected.