BIND (named) As Secondary And .jnl Files
Hello,
I have two running BINDs in my LAN, one on my router box and one as VM;
both are caching DNS servers, and a few zones are on both, on the box as master and on the VM as slave, but how can I cleanup/flush the growing .jnl files;
rndc freeze rndc thaw
doesn’t work as these are not master …
Thanks, Walter
One thought on - BIND (named) As Secondary And .jnl Files
Hi Walter,
By default, BIND places no limit on journal files, so they keep growing. To limit their size, add this to the “options” section of the configuration:
max-journal-size 10m;
You will probably need to flush the zones, stop BIND, remove the large journals, and then start BIND again.
Regards, Anand