Fixing BIND's journal out of sync with zone error.

If a zone (or zones) in your BIND setup gets out of sync (almost undoubtedly caused by manual editing a zone):


zone utternerd.org/IN: journal rollforward failed: journal out of sync with zone

zone utternerd.org/IN: not loaded due to errors.


Fixing it is rather simple, simply delete the offending zone journal which is easily identified by the "zonename.jnl":


# rm /var/cache/bind/zones/utternerd.org.jnl


Now simply restart BIND as you usually would (YMMV):


# service bind9 restart


In the future if you need to update a dynamic zone, freeze, modify, and thaw them manually:


# rndc freeze utternerd.org

# vi /var/cache/bind/zones/utternerd.org (make manual changes needed)

# rndc thaw utternerd.org


Thawing the zone will force BIND to reload it.