Skip to content
Start here

DNS

resource cloudflare_email_routing_dns

required Expand Collapse
zone_id: String

Identifier.

optional Expand Collapse
name?: String

Domain of your zone.

computed Expand Collapse
id: String

Identifier.

created: Time

The date and time the settings have been created.

enabled: Bool

State of the zone settings for Email Routing.

modified: Time

The date and time the settings have been modified.

skip_wizard: Bool

Flag to check if the user skipped the configuration wizard.

status: String

Show the state of your account, and the type or configuration error.

success: Bool

Whether the API call was successful.

Deprecatedtag: String

Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)

errors: List[Attributes]
code: Int64
message: String
documentation_url: String
source: Attributes
pointer: String
messages: List[Attributes]
code: Int64
message: String
documentation_url: String
source: Attributes
pointer: String
result: Attributes
errors: List[Attributes]
code: String
missing: Attributes

List of records needed to enable an Email Routing zone.

content: String

DNS record content.

name: String

DNS record name (or @ for the zone apex).

priority: Float64

Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.

ttl: Float64

Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.

type: String

DNS record type.

record: List[Attributes]
content: String

DNS record content.

name: String

DNS record name (or @ for the zone apex).

priority: Float64

Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.

ttl: Float64

Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.

type: String

DNS record type.

content: String

DNS record content.

name: String

DNS record name (or @ for the zone apex).

priority: Float64

Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.

ttl: Float64

Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.

type: String

DNS record type.

result_info: Attributes
email_routing_dns_count: Float64

Total number of results for the requested service.

page: Float64

Current page within paginated list of results.

per_page: Float64

Number of results per page of results.

total_count: Float64

Total results available without any search parameters.

total_pages: Float64

The number of total pages in the entire result set.

cloudflare_email_routing_dns

resource "cloudflare_email_routing_dns" "example_email_routing_dns" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  name = "example.net"
}

data cloudflare_email_routing_dns

required Expand Collapse
zone_id: String

Identifier.

optional Expand Collapse
subdomain?: String

Domain of your zone.

computed Expand Collapse
id: String

Identifier.

success: Bool

Whether the API call was successful.

errors: List[Attributes]
code: Int64
message: String
documentation_url: String
source: Attributes
pointer: String
messages: List[Attributes]
code: Int64
message: String
documentation_url: String
source: Attributes
pointer: String
result: Attributes
errors: List[Attributes]
code: String
missing: Attributes

List of records needed to enable an Email Routing zone.

content: String

DNS record content.

name: String

DNS record name (or @ for the zone apex).

priority: Float64

Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.

ttl: Float64

Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.

type: String

DNS record type.

record: List[Attributes]
content: String

DNS record content.

name: String

DNS record name (or @ for the zone apex).

priority: Float64

Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.

ttl: Float64

Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.

type: String

DNS record type.

content: String

DNS record content.

name: String

DNS record name (or @ for the zone apex).

priority: Float64

Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.

ttl: Float64

Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.

type: String

DNS record type.

result_info: Attributes
email_routing_dns_count: Float64

Total number of results for the requested service.

page: Float64

Current page within paginated list of results.

per_page: Float64

Number of results per page of results.

total_count: Float64

Total results available without any search parameters.

total_pages: Float64

The number of total pages in the entire result set.

cloudflare_email_routing_dns

data "cloudflare_email_routing_dns" "example_email_routing_dns" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  subdomain = "example.net"
}