Skip to content

DNS Zone transfers

Zone transfers allow you to use multiple DNS providers for the same domain to increase availability and fault tolerance. If one provider has an outage, the other can still answer DNS queries, keeping your domain available.

With zone transfers, your providers synchronize DNS records between themselves using one of two protocols:

  • Authoritative zone transfer (AXFR): Copies the entire zone from the primary to the secondary provider, even if only one record changes.
  • Incremental zone transfer (IXFR): Transfers only the changes since the last transfer, rather than the entire zone.

Cloudflare supports both protocols.

You have two configuration options for zone transfers:

  • Cloudflare as Primary: Cloudflare is your primary DNS provider and performs outgoing zone transfers to your secondary DNS provider(s).
  • Cloudflare as Secondary: Cloudflare is your secondary DNS provider and initiates incoming zone transfers from your primary DNS provider.

Peer DNS server

A peer DNS server is the external DNS provider that participates in zone transfers with Cloudflare. The same peer can be linked to multiple primary and secondary zones. Each peer can be associated with only one Transaction Signature (TSIG) — an authentication mechanism that uses a shared secret to verify zone transfer messages between providers.

The maximum number of linked peers per zone is 30.

You can manage peers via the API or the dashboard:

  1. In the Cloudflare dashboard, go to the account Settings page.

    Go to Configurations
  2. Refer to DNS Settings > DNS Zone Transfers.

The fields below configure how Cloudflare communicates with the peer. When Cloudflare is primary, it sends NOTIFY messages to alert the peer that zone data has changed. When Cloudflare is secondary, it sends AXFR/IXFR requests to retrieve updated records from the peer.

FieldCloudflare as Primary (Outgoing)Cloudflare as Secondary (Incoming)
NameHuman readable name of peerHuman readable name of peer
IPIf configured, where Cloudflare sends the NOTIFY toWhere Cloudflare sends the AXFR/IXFR transfer request to
PortIP Port for NOTIFY IPIP Port for transfer IP
TSIG IDAttached TSIG objectAttached TSIG object
IXFR enabledCloudflare always supports IXFR for outgoing zone transfersSpecifies if Cloudflare only sends AXFR or AXFR and IXFR

Availability

Zone transfers are only available to customers on an Enterprise plan.