Pular para o conteúdo

DNS Zone transfers

Atualizado em Ver como Markdown

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.

Field Cloudflare as Primary (Outgoing) Cloudflare as Secondary (Incoming)
Name Human readable name of peer Human readable name of peer
IP If configured, where Cloudflare sends the NOTIFY to Where Cloudflare sends the AXFR/IXFR transfer request to
Port IP Port for NOTIFY IP IP Port for transfer IP
TSIG ID Attached TSIG object Attached TSIG object
IXFR enabled Cloudflare always supports IXFR for outgoing zone transfers Specifies if Cloudflare only sends AXFR or AXFR and IXFR

Availability

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