Thanks Matus. Does bind keep the received messages for zone updates in queue during rndc freeze, and apply them after rndc thaw? I think that while rndc freeze is in effect, bind will ignore (and not keep) notify messages for zone updates. The drawback in this case is that a zone will only update again after the refresh interval. Please correct me if I'm wrong.
On Tue, Nov 13, 2018 at 1:08 PM Matus UHLAR - fantomas <uh...@fantomas.sk> wrote: > >On 12-Nov-18 14:39, Marcus Frenkel asked about backing up slave zone > >files & bind's update mechanism: > > On 13.11.18 06:37, Timothe Litt wrote: > >I believe you're asking the wrong questions and are likely to run into > >complications. You don't know when BIND will merge the journal, or that > >rsync will atomically snapshot the zone file and the journal. So you > >will get a coherent copy of the the zone file - but it may be stale. > >The journal may be earlier or later than the zone file, or it may be > >incomplete. This means that a restore may have the slave serve stale > >data - until it queries the master for any updates & if necessary, fixes > >the journal file. If the master happens to be down, this is especially > >suboptimal. > > > >So I would exclude both files from rsync, and use another approach to > >save a coherent copy of the zone file(s) in my backup procedure. > > rndc freeze can cause all journals to be synced and files saved. > You can call this before backup and call rndc thaw after. > > -- > Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ > Warning: I wish NOT to receive e-mail advertising to this address. > Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. > Linux IS user friendly, it's just selective who its friends are... > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users >
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users