Cloudflare DNS logo

Developer tools

Cloudflare DNS Integrations

Update host addresses, provision customer subdomains, track mail settings and back up zone records with Cloudflare DNS.

Start a workflow

Cloudflare DNS Triggers

1 Polling

Choose what starts your automation.

Mail routing or authentication changed

Polling

Start when the observed MX, SPF or DMARC records differ from the previous check. The first check saves a baseline.

Then take action

Cloudflare DNS Actions

78 Actions

Choose what your workflow does in Cloudflare DNS.

Accept or reject discovered records

Choose which records from the latest scan should be added to your zone.

Add a custom nameserver to the account

Register the hostname customers will use as a nameserver.

More actions

Add a custom nameserver to the tenant

Register a branded nameserver in the selected tenant.

Add a DNS transfer peer

Register a DNS server that participates in zone transfers.

Apply a batch of DNS changes

Submit record additions, edits and deletions together for one zone.

Change DNSSEC signing settings

Update DNSSEC status and signing options for this zone.

Change the account’s default DNS settings

Update the selected defaults for DNS in this account.

Change the zone’s custom nameserver assignment

Configure which account custom nameservers serve this zone.

Change the zone’s DNS settings

Apply selected changes to the DNS configuration of one zone.

Check DNS record usage across the account

Read the account’s DNS record usage for capacity reporting.

Check DNS record usage for a zone

Read the zone’s DNS record usage for capacity planning.

Check outgoing zone transfer status

Inspect the most recent outgoing transfer state for the zone.

Configure incoming zone transfers

Set up Cloudflare as a secondary server for the selected zone.

Configure outgoing zone transfers

Set up Cloudflare as the primary DNS server for transfer peers.

Create a DNS record

Add a record with the chosen hostname, type, value and routing options.

Create a nameserver set

Group nameservers into a set for use by your zones.

Create a transfer signing key

Register a TSIG key for authenticated communication between DNS servers.

Create a zone transfer access rule

Add an IP range to the secondary DNS access configuration.

Create an internal DNS view

Define a view for an internal DNS audience.

Delete a DNS record

Remove one record by ID from the selected zone.

Ready-made Cloudflare DNS Workflows

14 total

Start with a published template and adapt it to your work.

Browse all templates →
Cloudflare DNS →
More templates

Cloudflare DNS setup notes

  • Connect a scoped API token Enter your Cloudflare account ID and a token scoped to the intended zone. Grant Zone Read to browse zones and DNS Edit to write records. Read-only workflows can use DNS Read.

  • Choose an action for your zone Manage records individually or in batches, inspect DNS settings and export records in BIND format. Advanced features such as secondary DNS, custom nameservers and analytics depend on your plan and token permissions.

  • Watch mail configuration Select a domain to poll for changes to its MX, SPF and DMARC records. The first check establishes a baseline. Later checks can record the previous and current values in D1 or send a Slack notification.