Commit Diff
Diff:
2775dd69de42054ae6167ca4cd8d7db490d5f8b0
4806ae133c793ff0fe41f55b06ce4b49cfad0cb5
Commit:
4806ae133c793ff0fe41f55b06ce4b49cfad0cb5
Tree:
185130857fb800a3e738cd2d5cb82921eb31ddf8
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Thu Nov 14 18:07:58 2019 UTC
Message:
document the new dddctl configtest -n flag
blob - 7a40d53577f685899b0e4b7241502d381a81f437
blob + dff53612b669982a0b40500abeef80893727e885
--- dddctl.8
+++ dddctl.8
@@ -1,4 +1,4 @@
-.\" $Id: dddctl.8,v 1.5 2019/11/07 05:42:14 pjp Exp $
+.\" $Id: dddctl.8,v 1.6 2019/11/14 18:07:58 pjp Exp $
.\" In parts copyright (template) by:
.\"
.\" $OpenBSD: vmctl.8,v 1.39 2018/02/24 13:14:09 jmc Exp $
@@ -18,7 +18,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 7 2019 $
+.Dd $Mdocdate: November 14 2019 $
.Dt DDDCTL 8
.Os
.Sh NAME
@@ -40,14 +40,16 @@ Convert a
.Xr delphinusdns.conf 5
zonefile to BIND format with the specified zonename domain name.
.It Xo Cm configtest
-.Op Fl c
+.Op Fl cn
.Op Ar configfile
.Xc
Test the entire config, alternatively you can test a
.Xr delphinusdns.conf 5
config file by specifying such a file. In case of configured rzones, when
there is no .repl file in /etc/delphinusdns/replicant/ it will pull the
-replicant file via a socket.
+replicant file via a socket, unless the
+.Op Fl n
+flag has been specified.
.It Cm help Ar [command]
provides an in-binary help. Alternatively you can specify a subcommand
to provide help for. Ie.
blob - 967c445e871fe97ef185729689e160fa8dc663c5
blob + 1fae1214a9c0b33544d6c63c440f56e79e48d17c
--- dddctl.c
+++ dddctl.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: dddctl.c,v 1.88 2019/11/14 18:02:12 pjp Exp $
+ * $Id: dddctl.c,v 1.89 2019/11/14 18:07:58 pjp Exp $
*/
#include <sys/param.h>
@@ -6298,7 +6298,7 @@ usage(int argc, char *argv[])
} else {
fprintf(stderr, "usage: command [arg ...]\n");
fprintf(stderr, "\tbindfile zonename zonefile\n");
- fprintf(stderr, "\tconfigtest [-c] [configfile]\n");
+ fprintf(stderr, "\tconfigtest [-cn] [configfile]\n");
fprintf(stderr, "\tquery [-BDITZ] [-@ server] [-P port] [-p file] [-Q server]\n\t\t[-y keyname:password] name command\n");
fprintf(stderr, "\thelp [command]\n");
fprintf(stderr, "\tsign [-KXZ] [-a algorithm] [-B bits] [-e seconds]\n\t\t[-I iterations] [-i inputfile] [-k KSK] [-m mask] [-n zonename]\n\t\t[-o output] [-S pid] [-s salt] [-t ttl] [-x serial] [-z ZSK]\n");
repomaster@centroid.eu