Skip to content
betaDNS betaSelf-hostedSetup guide checked 2026-09-27

Zone transfer (AXFR/IXFR)

Zone transfer TSIG key setup: allow DNSMigrator to read zones from up to five authoritative primaries by AXFR/IXFR; this connection is always a read-only source.

On this page

Zone transfer TSIG key permissions

Credential type
Transfer allow-list and optional TSIG key
Preview access
Authoritative SOA query and test AXFR for the first listed zone; optional TSIG
Apply access
Unavailable: zone transfer is read-only and is never offered as a destination
API endpoint
You provide a public API endpoint.

Additional access

Primaries are tried in order with failover. DNSMigrator cannot receive NOTIFY, so change checks poll SOA serials and, when enabled, request IXFR before falling back to AXFR. Transfers are capped at 10 MB.

DNSControl id

This provider does not have a DNSControl id.

Create credentials

Allow DNSMigrator to read zones from up to five authoritative primaries by AXFR/IXFR; this connection is always a read-only source.

Access you'll grant

Preview

Authoritative SOA query and test AXFR for the first listed zone; optional TSIG

Apply

Unavailable: zone transfer is read-only and is never offered as a destination

Primaries are tried in order with failover. DNSMigrator cannot receive NOTIFY, so change checks poll SOA serials and, when enabled, request IXFR before falling back to AXFR. Transfers are capped at 10 MB.

Before you start

  • Authoritative primary servers for every zone and permission to change their transfer ACLs.
  • A public TCP path from our egress IP; up to five primary endpoints and 200 zones can be entered.

Setup steps

0 of 9 done

  1. Inventory the primaries and zones

    List one to five authoritative primaries in failover order, then list every zone you need to migrate, monitor, or back up. A primary can be a public hostname, IPv4 address, or bracketed IPv6 address. DNSMigrator requires the SOA response to have the authoritative AA bit.

    Primary serversns1.example.com [2001:db8::53]:53 ns2.example.com
    Zonesexample.com example.net
  2. Choose IP or TSIG authentication

    IP-only transfers rely on our egress IP in the server ACL. TSIG also authenticates each request: enter TSIG key name and TSIG secret together. TSIG algorithm is optional and defaults to HMAC-SHA256 (recommended). Do not grant RFC 2136 update rights to this read-only connection.

    Generate a BIND keytsig-keygen -a hmac-sha256 dnsmigrator
  3. Configure BIND if it serves the zones

    Add one allow-transfer form to each primary zone. Use the IP form or the TSIG form; retaining our egress IP at the firewall is still required when TSIG is used.

    IP-onlyallow-transfer { our egress IP; };
    TSIGallow-transfer { key "dnsmigrator."; };
  4. Configure Knot DNS if it serves the zones

    Define a key and an ACL with action: transfer, then reference the ACL from every zone. When address and key appear in the same ACL, both must match.

    Knot configurationkey: - id: dnsmigrator. algorithm: hmac-sha256 secret: <base64-secret> acl: - id: dnsmigrator-transfer address: our egress IP key: dnsmigrator. action: transfer zone: - domain: example.com acl: dnsmigrator-transfer
  5. Configure PowerDNS if it serves the zones

    For an unsigned transfer, allow our egress IP with allow-axfr-ips and keep AXFR enabled. For TSIG, import the key and activate it for each zone. A TSIG-authorized transfer bypasses allow-axfr-ips, so retain the network firewall rule.

    pdns.conf IP ACLallow-axfr-ips=our egress IP disable-axfr=no
    Import and activate TSIGpdnsutil tsigkey import dnsmigrator hmac-sha256 '<base64-secret>' pdnsutil tsigkey activate example.com dnsmigrator primary
  6. Configure Windows DNS if it serves the zones

    Open Windows Administrative Tools → DNS, right-click the zone, select Properties → Zone Transfers, enable Allow zone transfers, choose Only to the following servers, and add our egress IP. Repeat for every zone, or use PowerShell.

    Windows PowerShellSet-DnsServerPrimaryZone -Name "example.com" -SecureSecondaries "TransferToSecureServers" -SecondaryServers "our egress IP" -PassThru
  7. Allow the transfer port

    Allow our egress IP to each primary over TCP. Leave Port empty to use 53 for entries without an explicit port. You can append :port to a hostname or IPv4 address, or use [IPv6]:port, but the hosted endpoint guard allows only TCP 53 unless the operator has explicitly allow-listed another port.

    Default required flowour egress IP → primary:53/tcp
  8. Enter the transfer settings

    Paste Primary servers and Zones. Add TSIG key name and TSIG secret together only when required; choose TSIG algorithm only when it differs from HMAC-SHA256. Enable Prefer IXFR for change checks to request deltas. The initial preview and access test still use full AXFR.

  9. Check the first zone

    Check access after saving. DNSMigrator tries the primaries in order, requires an authoritative SOA response, and performs a test AXFR for the first listed zone. Each additional zone is checked when it is listed or read, so apply the transfer ACL to every zone.

Troubleshooting

SOA is returned but is not authoritative

Point the connection at an authoritative primary or secondary for the zone, not a recursive resolver or load balancer that clears the AA bit.

AXFR returns REFUSED or NOTAUTH

Check the zone-specific transfer ACL, exact TSIG identity and algorithm, and the source address seen by the server. Allow our egress IP, not your browser's IP.

The first zone works but another zone fails

The access check performs AXFR only for the first listed zone. Confirm every other zone is authoritative on at least one listed primary and grants the same IP or TSIG transfer access.

TCP 53 times out or another port is blocked

Permit TCP as well as any existing UDP DNS rule, verify NAT reaches the authoritative server, and use port 53 unless the DNSMigrator operator has explicitly allow-listed another port.

The transfer exceeds 10 MB or never completes

Reduce unusually large generated data, transfer from another authoritative server, or use the provider's API connector. DNSMigrator intentionally caps transfer size at 10 MB.

Official documentation

Guide checked against the official documentation on .

Credential fields

FieldRequirementWhere to find it
Primary serversserversRequiredOne public primary endpoint per line, in failover order (maximum five). Use a hostname, IPv4, bracketed IPv6, or an endpoint with an explicit port.
PortportOptionalDefault TCP port for entries without their own port; leave empty for 53. Other ports require an operator allow-list.
ZoneszonesRequiredOne authoritative zone per line (maximum 200). The first zone is used by the access check.
TSIG key namekeyNameOptionalOptional exact TSIG identity, including a trailing dot when configured. Enter it together with the secret.
TSIG algorithmkeyAlgorithmOptionalOptional TSIG algorithm matching the server. Defaults to hmac-sha256 when a key is used; avoid SHA-1 and MD5 for new keys.
TSIG secretkeySecretOptionalOptional Base64 TSIG secret without quotes. Enter it together with the key name.
Prefer IXFR for change checkspreferIxfrOptionalRequest IXFR while polling for changes and fall back to AXFR when unavailable. Initial reads still use a full AXFR.

Capabilities

Create zones
No
List zones
Yes
DNSSEC
Not available through this connection
Minimum TTL
0 seconds
Apex CNAME
No
Read only
Yes

Record types

  • A
  • AAAA
  • CNAME
  • MX
  • TXT
  • NS
  • SRV
  • CAA
  • PTR
  • DS
  • TLSA
  • SSHFP
  • NAPTR
  • SPF
  • URI
  • DNAME
  • OPENPGPKEY
  • SMIMEA
  • DHCID
  • RP
  • HTTPS
  • SVCB

Caveats

  • Read-only source: zone transfer connections can be migrated from, monitored and backed up, but never written to.
  • We reach primaries only over TCP port 53 at public addresses; private, loopback, link-local and metadata addresses are refused.
  • A transfer shows what the server publishes: proxied (CDN) addresses, flattened apex CNAMEs and provider-managed records can't be recovered from it.
  • DNSSEC signatures and keys (RRSIG, NSEC/NSEC3, DNSKEY, CDS/CDNSKEY) are dropped; the destination signs the zone itself.
  • We can't receive NOTIFY messages, so changes are picked up by polling the SOA serial, then IXFR when the server supports it.

Troubleshooting

SOA is returned but is not authoritative
Point the connection at an authoritative primary or secondary for the zone, not a recursive resolver or load balancer that clears the AA bit.
AXFR returns REFUSED or NOTAUTH
Check the zone-specific transfer ACL, exact TSIG identity and algorithm, and the source address seen by the server. Allow {egressIp}, not your browser's IP.
The first zone works but another zone fails
The access check performs AXFR only for the first listed zone. Confirm every other zone is authoritative on at least one listed primary and grants the same IP or TSIG transfer access.
TCP 53 times out or another port is blocked
Permit TCP as well as any existing UDP DNS rule, verify NAT reaches the authoritative server, and use port 53 unless the DNSMigrator operator has explicitly allow-listed another port.
The transfer exceeds 10 MB or never completes
Reduce unusually large generated data, transfer from another authoritative server, or use the provider's API connector. DNSMigrator intentionally caps transfer size at 10 MB.