Concepts / Names and DNS

Names and DNS

Zone transfer

Also called AXFR, IXFR, NOTIFY, primary and secondary, master and slave, SOA serial, allow-transfer

How a secondary name server copies a zone from its primary: whole (AXFR) or just the changes (IXFR), prompted by NOTIFY.

The serial decides whether a secondary copies
The serial decides whether a secondary copies

A secondary pulls the zone only when the primary's SOA serial is higher than its own. An edit saved without raising the serial never reaches the secondaries.

A zone transfer is how a secondary name server copies a zone from its primary, so names survive a failure. It compares the SOA serial at each refresh or on a NOTIFY, then fetches the whole zone (AXFR, over TCP) or only the changes (IXFR). An edit without a higher serial never leaves the primary. A transfer lists every name, so restrict who may ask (allow-transfer, ideally a TSIG key).

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab