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.
Jakob Dhondt <jakob.dhondt@switch.ch> wrote:
I am generating dnstap files using bind and regularly roll them usingYes, this is a bug. I could reproduce the problem but I couldn't see it
'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.
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.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,073 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 20:07:27 |
| Calls: | 13,785 |
| Files: | 186,987 |
| D/L today: |
2,925 files (900M bytes) |
| Messages: | 2,436,551 |