Moving dynamic zones to new master+slave pair without interruptions

Evan Hunt each at isc.org
Thu Jan 7 08:10:36 UTC 2016


On Thu, Jan 07, 2016 at 08:41:13AM +0100, Peter Rathlev wrote:
> This made my think... Maybe I could just AXFR from the running slave
> and use the output as zone files on the master. As far as I can see
> this should Just Work™.

Yes, it will. Relatively recent versions of dig (since 9.8) have a +onesoa
option to suppress the extra SOA record that turns up at the end of the
AXFR, for exactly this purpose.

$ dig +nocmd +onesoa @<server> axfr <zone>

-- 
Evan Hunt -- each at isc.org
Internet Systems Consortium, Inc.


More information about the bind-users mailing list