Trick named to not expire secondary zones?
Lars-Johan Liman
liman at netnod.se
Sun Nov 22 13:58:59 UTC 2026
Hi!
It happens from time to time that I have need to prevent my secondary
named from expiring a certain zone. Typically when I mess up my hidden
primary and don't have time to put the pieces back together again before
the zone threatens to expire.
In the past that used to be possible by "touching" (i.e., updating the
modification date of) the zonefile where named stores the zone on the
secondary server. Nowadays there is of course also often a journal file
to keep en eye on.
Does this "hack" still work, or does a modern named have more elaborate
ways to keep track of whether a zone has expired or not? If the hack
works, is it necessary to "reload" the zone in way, or does named
automagically always stat() the file when refreshing and pick up a new
date?
If the hack doesn't work, is that another (better?) hack that _does_
work?
Cheers,
/Liman
--
#----------------------------------------------------------------------
# Lars-Johan Liman, M.Sc. ! E-mail: liman at netnod.se
# Senior Systems Specialist ! Mobile: +46 708 - 54 06 66
# Netnod AB, Stockholm ! https://www.netnod.se/
#----------------------------------------------------------------------
More information about the bind-users
mailing list