From 2897a45644545499f502b071dd32b8e41d50f513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pa=C4=8Dek?= Date: Mon, 3 Apr 2023 16:18:06 +0200 Subject: [PATCH] Make rndc dnstap -roll docs easier to read --- bin/rndc/rndc.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/rndc/rndc.rst b/bin/rndc/rndc.rst index 3efbe31525..549f0776e0 100644 --- a/bin/rndc/rndc.rst +++ b/bin/rndc/rndc.rst @@ -189,9 +189,13 @@ Currently supported commands are: .. option:: dnstap (-reopen | -roll [number]) - This command closes and re-opens DNSTAP output files. ``rndc dnstap -reopen`` allows + This command closes and re-opens DNSTAP output files. + + ``rndc dnstap -reopen`` allows the output file to be renamed externally, so that :iscman:`named` can - truncate and re-open it. ``rndc dnstap -roll`` causes the output file + truncate and re-open it. + + ``rndc dnstap -roll`` causes the output file to be rolled automatically, similar to log files. The most recent output file has ".0" appended to its name; the previous most recent output file is moved to ".1", and so on. If ``number`` is specified, then