AccountDnsSettingsZoneDefaults

data class AccountDnsSettingsZoneDefaults(val flattenAllCnames: Boolean? = null, val foundationDns: Boolean? = null, val internalDns: AccountDnsSettingsZoneDefaultsInternalDns? = null, val multiProvider: Boolean? = null, val nameservers: AccountDnsSettingsZoneDefaultsNameservers? = null, val nsTtl: Double? = null, val secondaryOverrides: Boolean? = null, val soa: AccountDnsSettingsZoneDefaultsSoa? = null, val zoneMode: String? = null)

Constructors

Link copied to clipboard
constructor(flattenAllCnames: Boolean? = null, foundationDns: Boolean? = null, internalDns: AccountDnsSettingsZoneDefaultsInternalDns? = null, multiProvider: Boolean? = null, nameservers: AccountDnsSettingsZoneDefaultsNameservers? = null, nsTtl: Double? = null, secondaryOverrides: Boolean? = null, soa: AccountDnsSettingsZoneDefaultsSoa? = null, zoneMode: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard
val foundationDns: Boolean? = null

Whether to enable Foundation DNS Advanced Nameservers on the zone.

Link copied to clipboard

Settings for this internal zone.

Link copied to clipboard
val multiProvider: Boolean? = null

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.

Link copied to clipboard

Settings determining the nameservers through which the zone should be available.

Link copied to clipboard
val nsTtl: Double? = null

The time to live (TTL) of the zone's nameserver (NS) records.

Link copied to clipboard

Allows a Secondary DNS zone to use (proxied) override records and CNAME flattening at the zone apex.

Link copied to clipboard

Components of the zone's SOA record.

Link copied to clipboard
val zoneMode: String? = null

Whether the zone mode is a regular or CDN/DNS only zone. Available values: "standard", "cdnonly", "dnsonly".