Cloudflare DNS
Host your domain's DNS on Cloudflare: add or adopt a zone, activate it at your registrar, manage records, and roll back with snapshots.
Cloudflare DNS hosts your domain's records, so WP Waterfall can attach the domain to a site without you typing a record. Open DNS in the dashboard to add a zone and manage its records.
WP Waterfall answers DNS queries from Cloudflare. Records WP Waterfall writes are DNS-only, so traffic goes straight to the address in each record. Records WP Waterfall imports keep the proxy setting they had.
How do I add a zone?
- Open DNS.
- Choose Add zone.
- Type your domain.
The zone appears in the list at once, with a spinner while WP Waterfall creates it. The job also shows in the bell. WP Waterfall creates the zone, scans the records the domain has today, and imports them, so nothing is lost. If the API refuses the name, the row goes away and the reason shows above the list.
The list works like the Sites list: search by name, filter by status (All zones, Active, or Pending), and click anywhere on a row to open the zone.
How many zones can I have?
One for each site your plan allows. A plan with 5 site licenses can host 5 zones, and an account with no plan can host the zone of its first domain. When you reach the number, Add zone is off and the page says so. Remove a zone or add a site license to add another.
If you move to a smaller plan, every zone you have stays and keeps working. You just cannot add a new one until you are under the number. A plan with no site limit has no zone limit. The zone list from GET /v1/dns/zones shows limit with used and allowed.
You can have 10 zones waiting for their nameservers at one time. Set the nameservers of those zones, or remove the ones you do not need, and you can add more. Cloudflare limits how many zones can wait on one account, so WP Waterfall can also refuse a new zone for a while when too many are waiting across all accounts. If that happens, try again later, or connect the domain with the records on the Domains tab.
What if the zone already exists in Cloudflare?
If the domain is already a zone in WP Waterfall's Cloudflare account, WP Waterfall does not create a second one. It adopts the zone that is there and imports every record it holds: A, AAAA, CNAME, TXT, MX, SRV, CAA, and NS, with each record's proxy setting. Nothing in Cloudflare is changed by the import.
A zone belongs to one WP Waterfall account, and that account must control the name. The zone page shows a TXT record. Add it in the Cloudflare zone, then choose Check and adopt, or Check activation. WP Waterfall adopts the zone as soon as the record resolves.
An adopted zone shows a notice: this zone already existed in your Cloudflare account, WP Waterfall imported its records, and changes here change your live DNS. Deleting an adopted zone in WP Waterfall only stops WP Waterfall managing it. The zone and its records stay in Cloudflare.
If another WP Waterfall account already manages the zone, WP Waterfall refuses the add and says so. If the domain is a zone on a different Cloudflare account, the add fails with a clear message: keep the zone where it is and attach the domain to a site with the records on the Domains tab instead. See Domains.
What if setting up the zone fails?
When you choose to scan the current records, WP Waterfall reads them from public DNS and adds them to the new zone. Cloudflare refuses some combinations, such as a CNAME beside another record of the same name. One refused record never fails the job. WP Waterfall skips it, goes on, and the job log says Imported N records from the scan, skipped M that already existed or conflicted, followed by the names it skipped (up to ten) so you can add them by hand.
If the setup still fails, for example when Cloudflare is down, the zone shows Failed. Choose Try again on the zone page, or add the same name again. The job uses the zone Cloudflare already holds, skips records that are already there, and reads every record into the WP Waterfall list, so nothing is created twice.
How do I activate the zone?
The zone shows two nameservers, each with a copy button.
- Set the two nameservers at your registrar. The zone list and the zone page both show them while the zone waits.
- Back in WP Waterfall, choose Check activation.
The button spins while WP Waterfall checks the nameservers every ten seconds for about three minutes. The zone turns Active as soon as both match. If nothing changes in that time, press the button again, because registrars take time to publish. An adopted zone that already points at Cloudflare is live at once. On an active zone, the check also refreshes its records.
How do I manage records?
The Records tab lists every record with its type, name, content, TTL, and whether it is proxied. Add A, AAAA, CNAME, MX, TXT, SRV, CAA, and NS records. WP Waterfall validates each record before it saves, writes it to Cloudflare, and snapshots the zone. It refuses:
- a CNAME at the apex,
- a CNAME beside other records,
- duplicates, and
- a TTL outside 60 seconds to one day.
The SPF counter shows the DNS lookups your record causes. It warns at 8 and refuses to save at 10.
Records with a lock were written by WP Waterfall for an attached domain. You cannot delete them. Remove the domain to remove them. Deleting any other record through the API needs confirm: true.
A record marked Points at a live site answers for one of your sites. WP Waterfall asks you to confirm before you change or delete such a record when it came from Cloudflare, because the change is live at once.
How do I refresh records from Cloudflare?
Choose Refresh records from Cloudflare on the Records tab whenever records changed in Cloudflare directly. WP Waterfall reads the zone and updates its copy: new records are imported, changed ones updated, and records that are gone from Cloudflare leave the list. Cloudflare itself is never written by a refresh.
How do snapshots work?
Every change saves a snapshot of the zone. Open the Snapshots tab to:
- Save snapshot before a risky change, with a reason that shows in the list.
- Roll back to any version. A restore replaces every unmanaged record with the snapshot's set, including each record's proxy setting, and leaves locked records alone. The API call needs
confirm: true. - Delete a version you no longer need. The zone's records do not change. The API call needs
confirm: true.
How do I delete a zone?
Remove any domain attached through it first. The API call needs confirm: true. A zone WP Waterfall created is removed from Cloudflare. An adopted zone stays there.
API
GET /v1/dns/zones: the zones andlimitwithusedandallowed.POST /v1/dns/zones: answers 409 when the company already holds as many zones as its plan allows, or when too many zones are waiting for their nameservers.GET /v1/dns/zones/{id}DELETE /v1/dns/zones/{id}POST /v1/dns/zones/{id}/retry: sets up a zone again after it failed. Answers 409 for a zone that did not fail.POST /v1/dns/zones/{id}/activation-checkPOST /v1/dns/zones/{id}/adoptGET /v1/dns/zones/{id}/recordsPOST /v1/dns/zones/{id}/recordsPOST /v1/dns/zones/{id}/records/refreshPATCH /v1/dns/zones/{id}/records/{record_id}DELETE /v1/dns/zones/{id}/records/{record_id}GET /v1/dns/zones/{id}/snapshotsPOST /v1/dns/zones/{id}/snapshotsPOST /v1/dns/zones/{id}/snapshots/{version}/restoreDELETE /v1/dns/zones/{id}/snapshots/{version}GET /v1/dns/zones/{id}/nameserver-requestPOST /v1/dns/zones/{id}/nameserver-request
Related
Still stuck?
Email support at wpwaterfall dot com with your site name and what you tried, or send us a message.