Skip to main content
These commands match DNS → Replication in the dashboard. They need a superadmin. For how replication, join codes and the catalog zone work, see Replication. dnz repl is a short alias for dnz replication.

On the primary: allow a secondary

secondary add allows a server to copy zones. Another DNZ (--kind dnz, the default) gets a join code; any other server (--kind other, e.g. BIND or Knot) gets TSIG details. secondary edit takes --name, --allow, --notify and --tsig on|off. secondary join-code makes a new code; the old one stops working.

On the secondary: follow a primary

There are two ways to follow a DNZ primary: with the join code it printed, or by asking to join and waiting for its admin to approve.
Once it follows a primary:

Copying one zone from any primary

add-zone copies a single zone over AXFR/IXFR from any primary: BIND, Knot, PowerDNS or another DNZ.
Check a secondary zone for a new serial with dnz zone refresh.

Join requests

Requests from pair (or from discovery in the dashboard) wait on the primary: