Commit d965c91f authored by Evan Hunt's avatar Evan Hunt
Browse files

clarify "rndc sync" logging, add it to "rndc -h" output, per francis

review comments in rt22473.
parent f3381d83
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.609 2011/03/21 07:22:11 each Exp $ */
/* $Id: server.c,v 1.610 2011/03/21 15:39:05 each Exp $ */
/*! \file */
......@@ -7073,7 +7073,7 @@ ns_server_sync(ns_server_t *server, char *args, isc_buffer_t *text) {
zonename, sizeof(zonename));
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
NS_LOGMODULE_SERVER, ISC_LOG_INFO,
"dumping zone '%s/%s'%s%s%s: %s",
"sync: dumping zone '%s/%s'%s%s%s: %s",
zonename, classstr, sep, vname,
cleanup ? ", removing journal file" : "",
isc_result_totext(result));
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rndc.c,v 1.133 2011/02/03 12:18:10 tbox Exp $ */
/* $Id: rndc.c,v 1.134 2011/03/21 15:39:05 each Exp $ */
/*! \file */
......@@ -114,6 +114,11 @@ command is one of the following:\n\
thaw Enable updates to all dynamic zones and reload them.\n\
thaw zone [class [view]]\n\
Enable updates to a frozen dynamic zone and reload it.\n\
sync [-clear] Dump changes to all dynamic zones to disk, and optionally\n\
remove their journal files.\n\
sync [-clear] zone [class [view]]\n\
Dump a single zone's changes to disk, and optionally\n\
remove its journal file.\n\
notify zone [class [view]]\n\
Resend NOTIFY messages for the zone.\n\
reconfig Reload configuration file and new zones only.\n\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment