AXFR Record

Authoritative Zone Transfer

Type code
252
Status
Query or pseudo-record type, never stored in a zone
Defined in
RFC 5936

What the AXFR record is for

AXFR transfers a whole zone from a primary server to a secondary. The secondary checks the SOA serial on its refresh timer or after a NOTIFY (RFC 1996) and, if the primary's serial is newer, sends an AXFR query. The response is the zone's records, starting and ending with the SOA record, over TCP (RFC 5936 does not define AXFR over UDP).

A zone transfer reveals every name in the zone, so servers should only allow it to their secondaries. Access is usually limited by IP address and authenticated with TSIG; RFC 9103 adds zone transfer over TLS for confidentiality.

Look up the SOA records of zonetransfer.me →

Our DNS tool doesn't perform zone transfers; this looks up the SOA record whose serial secondaries compare before requesting one.

Wire format and fields

AXFR has no record data of its own to store in a zone.

Example

The AXFR records at zonetransfer.me, fetched from live DNS on 27 November 2026:

zonetransfer.me. 7200 IN SOA nsztm1.digi.ninja. robin.digi.ninja. 2019100801 172800 900 1209600 3600
zonetransfer.me. 7200 IN DNSKEY 256 3 7 AwEAAapoL+InQBYx2oi3dI424+dEDFgnVW0cOINfCY3jLrngZxBsEur8…
zonetransfer.me. 301 IN TXT "google-site-verification=tyP28J7JAUHA9fw2sHXMgcCC0I6XBmmoVi04VlMewxA"
zonetransfer.me. 7200 IN MX 0 ASPMX.L.GOOGLE.COM.

The first four records of dig zonetransfer.me AXFR @nsztm1.digi.ninja. zonetransfer.me is a training zone that allows transfers to anyone on purpose. The DNSKEY is truncated.

Common mistakes

  • Allowing AXFR from any address. Anyone can then download the full zone, including internal or unlisted host names.
  • Allowing transfers on the primary but forgetting a secondary that also serves the zone. Every authoritative server needs the same restriction.
  • Editing the zone without increasing the SOA serial. Secondaries compare serials and will not transfer the change.
  • Firewall rules that allow DNS only over UDP. AXFR runs over TCP port 53.

Specifications

Related record types

Domain Intelligence APIs

Get started with our easy-to-use API docs.