unexpected behaviour of rndc dnstap -roll

Tony Finch dot at dotat.at
Sun Jun 21 20:30:01 UTC 2020


Jakob Dhondt <jakob.dhondt at switch.ch> wrote:
>
> I am generating dnstap files using bind and regularly roll them using
> 'rndc dnstap -roll [number]'. The way I understand the documentation is
> that there should be max [number] old dnstap files after executing this
> command but what actually happens is that all files are being kept so
> that I have to remove the old ones myself.

Yes, this is a bug. I could reproduce the problem but I couldn't see it
by staring at the code, so I added some extra logging until I found
the mistake. I've submitted a merge request for this patch:

https://gitlab.isc.org/fanf/bind9/-/commit/29d275965c0cddc862eeccb28188b8fd124fb321

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
public services available on equal terms to all


More information about the bind-users mailing list