diff options
author | Jakob Schlyter <jakob@cvs.openbsd.org> | 2010-01-15 19:25:09 +0000 |
---|---|---|
committer | Jakob Schlyter <jakob@cvs.openbsd.org> | 2010-01-15 19:25:09 +0000 |
commit | d2081ac134d2d350ed92374b12613330132619c9 (patch) | |
tree | 511f9a412b24160516c7d3d29111801f9fa1bf35 /usr.sbin/nsd/nsd-checkconf.8 | |
parent | efe15de128add506fb4055690c47221eb73d6346 (diff) |
NSD v3.2.4
Diffstat (limited to 'usr.sbin/nsd/nsd-checkconf.8')
-rw-r--r-- | usr.sbin/nsd/nsd-checkconf.8 | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/usr.sbin/nsd/nsd-checkconf.8 b/usr.sbin/nsd/nsd-checkconf.8 new file mode 100644 index 00000000000..802017c766d --- /dev/null +++ b/usr.sbin/nsd/nsd-checkconf.8 @@ -0,0 +1,94 @@ +.TH "nsd\-checkconf" "8" "Jan 6, 2010" "NLnet Labs" "nsd 3.2.4" +."\ Copyright (c) 2001\-2008, NLnet Labs. All rights reserved. +."\ See LICENSE for the license. +.SH "NAME" +.LP +.B nsd\-checkconf +\- NSD configuration file checker. +.SH "SYNOPSIS" +.LP +.B nsd\-checkconf +.RB [ \-v ] +.RB [ \-h ] +.RB [ \-o +.IR option ] +.RB [ \-z +.IR zonename ] +.RB [ \-s +.IR keyname ] +.I configfile +.SH "DESCRIPTION" +.LP +.B nsd\-checkconf +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 zonec(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 +.B \-v +After reading print the options to standard output in configfile +format. Without this option, only success or parse errors are +reported. +.TP +.B \-h +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 +.B \-z +option. +The special value +.I zones +prints out a list of configured zones. +.P +.RS +This option is primarily used by +.B nsdc +to parse the config file from the shell. If the +.B \-z +option is given, but the +.B \-o +option is not given, nothing is printed. +.RE +.TP +.B \-s\fI keyname +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 \-z\fI zonename +Return the option specified with +.B \-o +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. +.RE +.P +.RS +The \-o, \-s and \-z option print configfile options to standard output. +.RE +.SH "FILES" +.TP +/etc/nsd/nsd.conf +default +.B NSD +configuration file +.SH "SEE ALSO" +.LP +nsd(8), nsdc(8), nsd.conf(5), nsd\-notify(8), nsd\-patch(8), +nsd-xfer(8), zonec(8) +.SH "AUTHORS" +.LP +.B NSD +was written by NLnet Labs and RIPE NCC joint team. Please see +CREDITS file in the distribution for further details. |