DNS
dns
Domain types
Analytics
dns.analytics
Methods
Retrieves a list of summarised aggregate metrics over a given time period.
See Analytics API properties for detailed information about the available query parameters.
Domain types
Methods
Retrieves a list of aggregate metrics grouped by time interval.
See Analytics API properties for detailed information about the available query parameters.
Domain types
DNSSEC
dns.dnssec
Methods
Delete DNSSEC.
Enable or disable DNSSEC.
Details about DNSSEC status and configuration.
Domain types
Records
dns.records
Methods
Send a Batch of DNS Record API calls to be executed together.
Notes:
Although Cloudflare will execute the batched operations in a single database transaction, Cloudflare's distributed KV store must treat each record change as a single key-value pair. This means that the propagation of changes is not atomic. See the documentation for more information.
The operations you specify within the /batch request body are always executed in the following order:
- Deletes
- Patches
- Puts
- Posts
Create a new DNS record for a zone.
Notes:
- A/AAAA records cannot exist on the same name as CNAME records.
- NS records cannot exist on the same name as any other record type.
- Domain names are always represented in Punycode, even if Unicode characters were used when creating the record.
Delete DNS Record
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example: X-Auth-Email: user@example.com
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
DNS Write
Identifier
Identifier
Update an existing DNS record.
Notes:
- A/AAAA records cannot exist on the same name as CNAME records.
- NS records cannot exist on the same name as any other record type.
- Domain names are always represented in Punycode, even if Unicode characters were used when creating the record.
You can export your BIND config through this endpoint.
See the documentation for more information.
DNS Record Details
You can upload your BIND config through this endpoint. It assumes that cURL is called from a location with bind_config.txt (valid BIND config) present.
See the documentation for more information.
List, search, sort, and filter a zones' DNS records.
Scan for common DNS records on your domain and automatically add them to your zone. Useful if you haven't updated your nameservers yet.
Overwrite an existing DNS record.
Notes:
- A/AAAA records cannot exist on the same name as CNAME records.
- NS records cannot exist on the same name as any other record type.
- Domain names are always represented in Punycode, even if Unicode characters were used when creating the record.
Domain types
Settings
dns.settings
Methods
Update DNS settings for an account or zone
Show DNS settings for an account or zone
Domain types
Methods
Create Internal DNS View for an account
Delete an existing Internal DNS View
Update an existing Internal DNS View
Get DNS Internal View
List DNS Internal Views for an Account
Zone Transfers
dns.zone_transfers
dns.zone_transfers.acls
Methods
Create ACL.
Delete ACL.
Get ACL.
List ACLs.
Modify ACL.
Domain types
dns.zone_transfers.force_axfr
Methods
Sends AXFR zone transfer request to primary nameserver(s).
Domain types
dns.zone_transfers.incoming
Methods
Create secondary zone configuration for incoming zone transfers.
Delete secondary zone configuration for incoming zone transfers.
Get secondary zone configuration for incoming zone transfers.
Update secondary zone configuration for incoming zone transfers.
Domain types
dns.zone_transfers.outgoing
Methods
Create primary zone configuration for outgoing zone transfers.
Delete primary zone configuration for outgoing zone transfers.
Disable outgoing zone transfers for primary zone and clears IXFR backlog of primary zone.
Enable outgoing zone transfers for primary zone.
Notifies the secondary nameserver(s) and clears IXFR backlog of primary zone.
Get primary zone configuration for outgoing zone transfers.
Update primary zone configuration for outgoing zone transfers.
Domain types
dns.zone_transfers.outgoing.status
Methods
Get primary zone transfer status.
dns.zone_transfers.peers
Methods
Create Peer.
Delete Peer.
Get Peer.
List Peers.
Modify Peer.
Domain types
dns.zone_transfers.tsigs
Methods
Create TSIG.
Delete TSIG.
Get TSIG.
List TSIGs.
Modify TSIG.
Domain types