ZoneDnsSettingsArgs

data class ZoneDnsSettingsArgs(val flattenAllCnames: Output<Boolean>? = null, val foundationDns: Output<Boolean>? = null, val internalDns: Output<ZoneDnsSettingsInternalDnsArgs>? = null, val multiProvider: Output<Boolean>? = null, val nameservers: Output<ZoneDnsSettingsNameserversArgs>? = null, val nsTtl: Output<Double>? = null, val secondaryOverrides: Output<Boolean>? = null, val soa: Output<ZoneDnsSettingsSoaArgs>? = null, val zoneId: Output<String>? = null, val zoneMode: Output<String>? = null) : ConvertibleToJava<ZoneDnsSettingsArgs>

Example Usage

resources:
exampleZoneDnsSettings:
type: cloudflare:ZoneDnsSettings
name: example_zone_dns_settings
properties:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
flattenAllCnames: false
foundationDns: false
internalDns:
reference_zone_id: reference_zone_id
multiProvider: false
nameservers:
type: cloudflare.standard
ns_set: 1
nsTtl: 86400
secondaryOverrides: false
soa:
expire: 604800
min_ttl: 1800
mname: kristina.ns.cloudflare.com
refresh: 10000
retry: 2400
rname: admin.example.com
ttl: 3600
zoneMode: dns_only

Constructors

Link copied to clipboard
constructor(flattenAllCnames: Output<Boolean>? = null, foundationDns: Output<Boolean>? = null, internalDns: Output<ZoneDnsSettingsInternalDnsArgs>? = null, multiProvider: Output<Boolean>? = null, nameservers: Output<ZoneDnsSettingsNameserversArgs>? = null, nsTtl: Output<Double>? = null, secondaryOverrides: Output<Boolean>? = null, soa: Output<ZoneDnsSettingsSoaArgs>? = null, zoneId: Output<String>? = null, zoneMode: Output<String>? = null)

Properties

Link copied to clipboard
val flattenAllCnames: Output<Boolean>? = null

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: Output<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: Output<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: Output<Double>? = null

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

Link copied to clipboard
val secondaryOverrides: Output<Boolean>? = null

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

Link copied to clipboard
val soa: Output<ZoneDnsSettingsSoaArgs>? = null

Components of the zone's SOA record.

Link copied to clipboard
val zoneId: Output<String>? = null

Identifier.

Link copied to clipboard
val zoneMode: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): ZoneDnsSettingsArgs