Get your free beta license ↗
DNS and certificates · BIND

A secondary DNS server cannot transfer a zone

Last updated 30 Nov 2026
Summary

A secondary DNS server cannot copy the server's zones, and BIND logs that it denied the transfer. Add the secondary's IP address to the UrbeStack setting that controls which IP addresses can transfer zones.

Symptoms

A zone transfer from the secondary fails. You can see the failure by running this query from any machine.

dig @203.0.113.10 example.com AXFR
Output
; Transfer failed.

Run journalctl -u named to see the message BIND logs.

Output
client @0xffff7800bed8 198.51.100.53#45565 (example.com): zone transfer 'example.com/AXFR/IN' denied

Cause

UrbeStack allows zone transfers only to the IP addresses listed in dns.allow_transfer. The list is empty unless you set it.

Resolution

  1. Each setting takes the full list of IP addresses. Include every secondary's IP address in each setting.

  2. Allow transfers to the secondary's IP address.

    urbestack-setting-set --key dns.allow_transfer --json --value '["198.51.100.53"]'
  3. Have BIND notify the secondary as soon as a zone changes.

    urbestack-setting-set --key dns.also_notify --json --value '["198.51.100.53"]'
  4. Run dig @203.0.113.10 example.com AXFR again from the secondary. It lists the zone's records.