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
On 28/08/16 19:42, Walter H. wrote:
Hi Walter,
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;
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