RecordSettings

data class RecordSettings(val flattenCname: Boolean? = null, val ipv4Only: Boolean? = null, val ipv6Only: Boolean? = null)

Constructors

Link copied to clipboard
constructor(flattenCname: Boolean? = null, ipv4Only: Boolean? = null, ipv6Only: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val flattenCname: Boolean? = null

If enabled, causes the CNAME record to be resolved externally and the resulting address records (e.g., A and AAAA) to be returned instead of the CNAME record itself. This setting is unavailable for proxied records, since they are always flattened.

Link copied to clipboard
val ipv4Only: Boolean? = null

When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6.

Link copied to clipboard
val ipv6Only: Boolean? = null

When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6.