summaryrefslogtreecommitdiff
path: root/usr.sbin/nsd/nsd-checkconf.8.in
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/nsd/nsd-checkconf.8.in')
-rw-r--r--usr.sbin/nsd/nsd-checkconf.8.in34
1 files changed, 21 insertions, 13 deletions
diff --git a/usr.sbin/nsd/nsd-checkconf.8.in b/usr.sbin/nsd/nsd-checkconf.8.in
index 66cb02cc4b5..a812f3710b3 100644
--- a/usr.sbin/nsd/nsd-checkconf.8.in
+++ b/usr.sbin/nsd/nsd-checkconf.8.in
@@ -1,5 +1,5 @@
-.TH "nsd\-checkconf" "8" "Jul 22, 2013" "NLnet Labs" "nsd 3.2.16"
-.\" Copyright (c) 2001\-2011, NLnet Labs. All rights reserved.
+.TH "nsd\-checkconf" "8" "Oct 29, 2013" "NLnet Labs" "nsd 4.0.0"
+.\" Copyright (c) 2001\-2008, NLnet Labs. All rights reserved.
.\" See LICENSE for the license.
.SH "NAME"
.LP
@@ -14,6 +14,8 @@
.IR option ]
.RB [ \-z
.IR zonename ]
+.RB [ \-p
+.IR pattern ]
.RB [ \-s
.IR keyname ]
.I configfile
@@ -24,10 +26,9 @@ reads a configuration file. It prints parse errors to standard
error, and performs additional checks on the contents. The
configfile format is described in nsd.conf(5).
.P
-The utility of this program is to check a config file for errors
-before using it in nsd(8) or nsd\-zonec(8). This program can also be used
-for shell scripts to access the nsd config file, using the \-o and
-\-z options.
+The utility of this program is to check a config file for errors before
+using it in nsd(8). This program can also be used for shell scripts to
+access the nsd config file, using the \-o and \-z options.
.P
.SH "OPTIONS"
.TP
@@ -41,12 +42,17 @@ Print usage help information and exit.
.TP
.B \-o\fI option
Return only this option from the config file. This option can
-to be used in conjunction with the
+be used in conjunction with the
.B \-z
-option.
+and the
+.B \-p
+option, or without them to query the server: section.
The special value
.I zones
prints out a list of configured zones.
+The special value
+.I patterns
+prints out a list of configured patterns.
.P
.RS
This option is primarily used by
@@ -62,6 +68,11 @@ option is not given, nothing is printed.
Prints the key secret (base64 blob) configured for this key in the
config file. Used to help shell scripts parse the config file.
.TP
+.B \-p\fI pattern
+Return the option specified with
+.B \-o
+for the given pattern name.
+.TP
.B \-z\fI zonename
Return the option specified with
.B \-o
@@ -69,9 +80,7 @@ for zone 'zonename'.
.P
.RS
If this option is not given, the server section of the config file
-is used. This option is primarily used by
-.B nsdc
-to parse the config file from the shell.
+is used.
.RE
.P
.RS
@@ -85,8 +94,7 @@ default
configuration file
.SH "SEE ALSO"
.LP
-nsd(8), nsdc(8), nsd.conf(5), nsd\-notify(8), nsd\-patch(8),
-nsd-xfer(8), nsd\-zonec(8)
+\fInsd\fR(8), \fInsd.conf\fR(5), \fInsd\-control\fR(8)
.SH "AUTHORS"
.LP
.B NSD