From 19977879caf8579a5fafb0cf3bf1cb983063796c Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Tue, 27 Sep 2016 20:46:54 -0700 Subject: [PATCH] [v9_11] minor cleanup/clarification in dnstap documentation Patch submitted by Tony Finch (dot@dotat.at). (cherry picked from commit e9917a51d321c8ecf3b12491884bcb5114569f03) --- bin/rndc/rndc.c | 2 +- bin/rndc/rndc.docbook | 3 ++- bin/tools/dnstap-read.docbook | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/rndc/rndc.c b/bin/rndc/rndc.c index 9fce52850e..2d63602732 100644 --- a/bin/rndc/rndc.c +++ b/bin/rndc/rndc.c @@ -101,7 +101,7 @@ command is one of the following:\n\ delzone [-clean] zone [class [view]]\n\ Removes zone from given view.\n\ dnstap -reopen\n\ - Close and re-open the DNSTAP output file.\n\ + Close, truncate and re-open the DNSTAP output file.\n\ dnstap -roll count\n\ Close, rename and re-open the DNSTAP output file(s).\n\ dumpdb [-all|-cache|-zones|-adb|-bad|-fail] [view ...]\n\ diff --git a/bin/rndc/rndc.docbook b/bin/rndc/rndc.docbook index dcd228db27..f719a22486 100644 --- a/bin/rndc/rndc.docbook +++ b/bin/rndc/rndc.docbook @@ -308,7 +308,8 @@ Close and re-open DNSTAP output files. rndc dnstap -reopen allows the output - file to be renamed externally, then re-opened. + file to be renamed externally, so + that named can 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 diff --git a/bin/tools/dnstap-read.docbook b/bin/tools/dnstap-read.docbook index c0765da399..bbb43d9578 100644 --- a/bin/tools/dnstap-read.docbook +++ b/bin/tools/dnstap-read.docbook @@ -101,7 +101,7 @@ named8 , - nsupdate8 + rndc8 , BIND 9 Administrator Reference Manual.