Skip to content
Start here

Zone Transfers

Zone TransfersIncoming

resource cloudflare_dns_zone_transfers_incoming

required Expand Collapse
zone_id: String
name: String

Zone name.

peers: Set[String]

A list of peer tags.

optional Expand Collapse
auto_refresh_seconds?: Float64

How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.

computed Expand Collapse
id: String
checked_time: String

The time for a specific event.

created_time: String

The time for a specific event.

modified_time: String

The time for a specific event.

soa_serial: Float64

The serial number of the SOA for the given zone.

cloudflare_dns_zone_transfers_incoming

resource "cloudflare_dns_zone_transfers_incoming" "example_dns_zone_transfers_incoming" {
  zone_id = "269d8f4853475ca241c4e730be286b20"
  auto_refresh_seconds = 86400
  name = "www.example.com."
  peers = ["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"]
}

data cloudflare_dns_zone_transfers_incoming

required Expand Collapse
zone_id: String
computed Expand Collapse
id: String
auto_refresh_seconds: Float64

How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not applicable for primary zones.

checked_time: String

The time for a specific event.

created_time: String

The time for a specific event.

modified_time: String

The time for a specific event.

name: String

Zone name.

soa_serial: Float64

The serial number of the SOA for the given zone.

peers: Set[String]

A list of peer tags.

cloudflare_dns_zone_transfers_incoming

data "cloudflare_dns_zone_transfers_incoming" "example_dns_zone_transfers_incoming" {
  zone_id = "269d8f4853475ca241c4e730be286b20"
}

Zone TransfersOutgoing

resource cloudflare_dns_zone_transfers_outgoing

required Expand Collapse
zone_id: String
name: String

Zone name.

peers: Set[String]

A list of peer tags.

computed Expand Collapse
id: String
checked_time: String

The time for a specific event.

created_time: String

The time for a specific event.

last_transferred_time: String

The time for a specific event.

soa_serial: Float64

The serial number of the SOA for the given zone.

cloudflare_dns_zone_transfers_outgoing

resource "cloudflare_dns_zone_transfers_outgoing" "example_dns_zone_transfers_outgoing" {
  zone_id = "269d8f4853475ca241c4e730be286b20"
  name = "www.example.com."
  peers = ["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"]
}

data cloudflare_dns_zone_transfers_outgoing

required Expand Collapse
zone_id: String
computed Expand Collapse
id: String
checked_time: String

The time for a specific event.

created_time: String

The time for a specific event.

last_transferred_time: String

The time for a specific event.

name: String

Zone name.

soa_serial: Float64

The serial number of the SOA for the given zone.

peers: Set[String]

A list of peer tags.

cloudflare_dns_zone_transfers_outgoing

data "cloudflare_dns_zone_transfers_outgoing" "example_dns_zone_transfers_outgoing" {
  zone_id = "269d8f4853475ca241c4e730be286b20"
}

Zone TransfersACLs

resource cloudflare_dns_zone_transfers_acl

required Expand Collapse
account_id: String
ip_range: String

Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.

name: String

The name of the acl.

computed Expand Collapse
id: String

cloudflare_dns_zone_transfers_acl

resource "cloudflare_dns_zone_transfers_acl" "example_dns_zone_transfers_acl" {
  account_id = "01a7362d577a6c3019a474fd6f485823"
  ip_range = "192.0.2.53/28"
  name = "my-acl-1"
}

data cloudflare_dns_zone_transfers_acl

required Expand Collapse
acl_id: String
account_id: String
computed Expand Collapse
id: String
ip_range: String

Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.

name: String

The name of the acl.

cloudflare_dns_zone_transfers_acl

data "cloudflare_dns_zone_transfers_acl" "example_dns_zone_transfers_acl" {
  account_id = "01a7362d577a6c3019a474fd6f485823"
  acl_id = "23ff594956f20c2a721606e94745a8aa"
}

data cloudflare_dns_zone_transfers_acls

required Expand Collapse
account_id: String
optional Expand Collapse
max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String
ip_range: String

Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.

name: String

The name of the acl.

cloudflare_dns_zone_transfers_acls

data "cloudflare_dns_zone_transfers_acls" "example_dns_zone_transfers_acls" {
  account_id = "01a7362d577a6c3019a474fd6f485823"
}

Zone TransfersPeers

resource cloudflare_dns_zone_transfers_peer

required Expand Collapse
account_id: String
name: String

The name of the peer.

optional Expand Collapse
ip?: String

IPv4/IPv6 address of primary or secondary nameserver, depending on what zone this peer is linked to. For primary zones this IP defines the IP of the secondary nameserver Cloudflare will NOTIFY upon zone changes. For secondary zones this IP defines the IP of the primary nameserver Cloudflare will send AXFR/IXFR requests to.

ixfr_enable?: Bool

Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.

port?: Float64

DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.

tsig_id?: String

TSIG authentication will be used for zone transfer if configured.

computed Expand Collapse
id: String

cloudflare_dns_zone_transfers_peer

resource "cloudflare_dns_zone_transfers_peer" "example_dns_zone_transfers_peer" {
  account_id = "01a7362d577a6c3019a474fd6f485823"
  name = "my-peer-1"
}

data cloudflare_dns_zone_transfers_peer

required Expand Collapse
peer_id: String
account_id: String
computed Expand Collapse
id: String
ip: String

IPv4/IPv6 address of primary or secondary nameserver, depending on what zone this peer is linked to. For primary zones this IP defines the IP of the secondary nameserver Cloudflare will NOTIFY upon zone changes. For secondary zones this IP defines the IP of the primary nameserver Cloudflare will send AXFR/IXFR requests to.

ixfr_enable: Bool

Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.

name: String

The name of the peer.

port: Float64

DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.

tsig_id: String

TSIG authentication will be used for zone transfer if configured.

cloudflare_dns_zone_transfers_peer

data "cloudflare_dns_zone_transfers_peer" "example_dns_zone_transfers_peer" {
  account_id = "01a7362d577a6c3019a474fd6f485823"
  peer_id = "23ff594956f20c2a721606e94745a8aa"
}

data cloudflare_dns_zone_transfers_peers

required Expand Collapse
account_id: String
optional Expand Collapse
max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String
name: String

The name of the peer.

ip: String

IPv4/IPv6 address of primary or secondary nameserver, depending on what zone this peer is linked to. For primary zones this IP defines the IP of the secondary nameserver Cloudflare will NOTIFY upon zone changes. For secondary zones this IP defines the IP of the primary nameserver Cloudflare will send AXFR/IXFR requests to.

ixfr_enable: Bool

Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.

port: Float64

DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.

tsig_id: String

TSIG authentication will be used for zone transfer if configured.

cloudflare_dns_zone_transfers_peers

data "cloudflare_dns_zone_transfers_peers" "example_dns_zone_transfers_peers" {
  account_id = "01a7362d577a6c3019a474fd6f485823"
}

Zone TransfersTSIGs

resource cloudflare_dns_zone_transfers_tsig

required Expand Collapse
account_id: String
algo: String

TSIG algorithm.

name: String

TSIG key name.

secret: String

TSIG secret.

computed Expand Collapse
id: String

cloudflare_dns_zone_transfers_tsig

resource "cloudflare_dns_zone_transfers_tsig" "example_dns_zone_transfers_tsig" {
  account_id = "01a7362d577a6c3019a474fd6f485823"
  algo = "hmac-sha512."
  name = "tsig.customer.cf."
  secret = "caf79a7804b04337c9c66ccd7bef9190a1e1679b5dd03d8aa10f7ad45e1a9dab92b417896c15d4d007c7c14194538d2a5d0feffdecc5a7f0e1c570cfa700837c"
}

data cloudflare_dns_zone_transfers_tsig

required Expand Collapse
tsig_id: String
account_id: String
computed Expand Collapse
id: String
algo: String

TSIG algorithm.

name: String

TSIG key name.

secret: String

TSIG secret.

cloudflare_dns_zone_transfers_tsig

data "cloudflare_dns_zone_transfers_tsig" "example_dns_zone_transfers_tsig" {
  account_id = "01a7362d577a6c3019a474fd6f485823"
  tsig_id = "69cd1e104af3e6ed3cb344f263fd0d5a"
}

data cloudflare_dns_zone_transfers_tsigs

required Expand Collapse
account_id: String
optional Expand Collapse
max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String
algo: String

TSIG algorithm.

name: String

TSIG key name.

secret: String

TSIG secret.

cloudflare_dns_zone_transfers_tsigs

data "cloudflare_dns_zone_transfers_tsigs" "example_dns_zone_transfers_tsigs" {
  account_id = "01a7362d577a6c3019a474fd6f485823"
}