Settings
SettingsZone
Show DNS Settings
Update DNS Settings
ModelsExpand Collapse
class ZoneGetResponse: …
Whether to flatten all CNAME records in the zone. Note that, due to DNS limitations, a CNAME record at the zone apex will always be flattened.
Whether to enable multi-provider DNS, which causes Cloudflare to activate the zone even when non-Cloudflare NS records exist, and to respect NS records at the zone apex during outbound zone transfers.
nameservers: NameserversControls the nameservers through which the zone is available.
Controls the nameservers through which the zone is available.
Allows a Secondary DNS zone to use (proxied) override records and CNAME flattening at the zone apex.
soa: SOAComponents of the zone’s SOA record.
Components of the zone’s SOA record.
Time in seconds of being unable to query the primary server after which secondary servers should stop serving the zone.
The time to live (TTL) for negative caching of records within the zone.
The primary nameserver, which may be used for outbound zone transfers. If null, a Cloudflare-assigned value will be used.
Time in seconds after which secondary servers should re-check the SOA record to see if the zone has been updated.
Time in seconds after which secondary servers should retry queries after the primary server was unresponsive.
class ZoneEditResponse: …
Whether to flatten all CNAME records in the zone. Note that, due to DNS limitations, a CNAME record at the zone apex will always be flattened.
Whether to enable multi-provider DNS, which causes Cloudflare to activate the zone even when non-Cloudflare NS records exist, and to respect NS records at the zone apex during outbound zone transfers.
nameservers: NameserversControls the nameservers through which the zone is available.
Controls the nameservers through which the zone is available.
Allows a Secondary DNS zone to use (proxied) override records and CNAME flattening at the zone apex.
soa: SOAComponents of the zone’s SOA record.
Components of the zone’s SOA record.
Time in seconds of being unable to query the primary server after which secondary servers should stop serving the zone.
The time to live (TTL) for negative caching of records within the zone.
The primary nameserver, which may be used for outbound zone transfers. If null, a Cloudflare-assigned value will be used.
Time in seconds after which secondary servers should re-check the SOA record to see if the zone has been updated.
Time in seconds after which secondary servers should retry queries after the primary server was unresponsive.
SettingsAccount
Show DNS Settings
Update DNS Settings
ModelsExpand Collapse
class AccountGetResponse: …
zone_defaults: ZoneDefaultsDefault settings for new zones created in this account.
Default settings for new zones created in this account.
Whether to flatten all CNAME records in the zone. Note that, due to DNS limitations, a CNAME record at the zone apex will always be flattened.
Whether to enable multi-provider DNS, which causes Cloudflare to activate the zone even when non-Cloudflare NS records exist, and to respect NS records at the zone apex during outbound zone transfers.
nameservers: ZoneDefaultsNameserversSettings determining the nameservers through which the zone should be available.
Settings determining the nameservers through which the zone should be available.
Allows a Secondary DNS zone to use (proxied) override records and CNAME flattening at the zone apex.
soa: ZoneDefaultsSOAComponents of the zone’s SOA record.
Components of the zone’s SOA record.
Time in seconds of being unable to query the primary server after which secondary servers should stop serving the zone.
The time to live (TTL) for negative caching of records within the zone.
The primary nameserver, which may be used for outbound zone transfers. If null, a Cloudflare-assigned value will be used.
Time in seconds after which secondary servers should re-check the SOA record to see if the zone has been updated.
Time in seconds after which secondary servers should retry queries after the primary server was unresponsive.
When enabled, forces all proxied DNS records in the account to behave as DNS-only at the edge, regardless of each record’s individual proxy setting. Note that this account-level override does not modify the records themselves; it only affects how they are served at the edge. See more on Enforce DNS-only.
class AccountEditResponse: …
zone_defaults: ZoneDefaultsDefault settings for new zones created in this account.
Default settings for new zones created in this account.
Whether to flatten all CNAME records in the zone. Note that, due to DNS limitations, a CNAME record at the zone apex will always be flattened.
Whether to enable multi-provider DNS, which causes Cloudflare to activate the zone even when non-Cloudflare NS records exist, and to respect NS records at the zone apex during outbound zone transfers.
nameservers: ZoneDefaultsNameserversSettings determining the nameservers through which the zone should be available.
Settings determining the nameservers through which the zone should be available.
Allows a Secondary DNS zone to use (proxied) override records and CNAME flattening at the zone apex.
soa: ZoneDefaultsSOAComponents of the zone’s SOA record.
Components of the zone’s SOA record.
Time in seconds of being unable to query the primary server after which secondary servers should stop serving the zone.
The time to live (TTL) for negative caching of records within the zone.
The primary nameserver, which may be used for outbound zone transfers. If null, a Cloudflare-assigned value will be used.
Time in seconds after which secondary servers should re-check the SOA record to see if the zone has been updated.
Time in seconds after which secondary servers should retry queries after the primary server was unresponsive.
When enabled, forces all proxied DNS records in the account to behave as DNS-only at the edge, regardless of each record’s individual proxy setting. Note that this account-level override does not modify the records themselves; it only affects how they are served at the edge. See more on Enforce DNS-only.
SettingsAccountNameserver Sets
List Custom Nameserver Sets
Get Custom Nameserver Set
Create Custom Nameserver Set
Delete Custom Nameserver Set
ModelsExpand Collapse
class DNSSettingsNameserverSetStandardResponse: …
Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same ip_set and advanced value may reuse addresses; otherwise, they use disjoint address groups.
Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set’s nameservers or addresses.
class DNSSettingsNameserverSetAdvancedResponse: …
Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same ip_set and advanced value may reuse addresses; otherwise, they use disjoint address groups.
Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set’s nameservers or addresses.
nameservers: List[DNSSettingsNameserverSetAdvancedResponseNameserver]
ipv4_groups: List[Literal["a", "b", "c"]]Advanced anycast group for each address in the corresponding address array. Entries have the same order as, and correspond one-to-one with, the addresses.
Advanced anycast group for each address in the corresponding address array. Entries have the same order as, and correspond one-to-one with, the addresses.
class DNSSettingsNameserverSetStandardResponse: …
Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same ip_set and advanced value may reuse addresses; otherwise, they use disjoint address groups.
Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set’s nameservers or addresses.
class DNSSettingsNameserverSetAdvancedResponse: …
Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same ip_set and advanced value may reuse addresses; otherwise, they use disjoint address groups.
Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set’s nameservers or addresses.
nameservers: List[DNSSettingsNameserverSetAdvancedResponseNameserver]
ipv4_groups: List[Literal["a", "b", "c"]]Advanced anycast group for each address in the corresponding address array. Entries have the same order as, and correspond one-to-one with, the addresses.
Advanced anycast group for each address in the corresponding address array. Entries have the same order as, and correspond one-to-one with, the addresses.
class DNSSettingsNameserverSetStandardResponse: …
Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same ip_set and advanced value may reuse addresses; otherwise, they use disjoint address groups.
Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set’s nameservers or addresses.
class DNSSettingsNameserverSetAdvancedResponse: …
Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same ip_set and advanced value may reuse addresses; otherwise, they use disjoint address groups.
Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set’s nameservers or addresses.
nameservers: List[DNSSettingsNameserverSetAdvancedResponseNameserver]
ipv4_groups: List[Literal["a", "b", "c"]]Advanced anycast group for each address in the corresponding address array. Entries have the same order as, and correspond one-to-one with, the addresses.
Advanced anycast group for each address in the corresponding address array. Entries have the same order as, and correspond one-to-one with, the addresses.