1nsd-checkconf(8)          BSD System Manager's Manual         nsd-checkconf(8)
2

NAME

4     nsd-checkconf — NSD configuration file checker.
5

SYNOPSIS

7     nsd-checkconf [-v] [-h] [-o option] [-z zonename] [-s keyname] configfile
8
9

DESCRIPTION

11     nsd-checkconf reads a configuration file. It prints parse errors to stan‐
12     dard error, and performs additional checks on the contents.  The config‐
13     file format is described in nsd.conf(5).
14
15     The utility of this program is to check a config file for errors before
16     using it in nsd(8) or zonec(8).  This program can also be used for shell
17     scripts to access the nsd config file, using the -o and -z options.
18
19
20     The available options are:
21
22
23     -v      After reading print the options to standard output in configfile
24             format.  Without this option, only success or parse errors are
25             reported.
26
27
28     -h      Print usage help information and exit.
29
30
31     -o option
32             Return only this option from the config file. This option can to
33             be used in conjunction with the -z option.  The special value
34             zones prints out a list of configured zones.
35
36             This option is primarily used by nsdc to parse the config file
37             from the shell.  If -z is given, but this option is not given,
38             nothing is printed.
39
40
41     -s keyname
42             Prints the key secret (base64 blob) configured for this key in
43             the config file. Used to help shell scripts parse the config
44             file.
45
46
47     -z zonename
48             Return the option specified with -o for zone 'zonename'.
49
50             If this option is not given, the server section of the config
51             file is used.  This option is primarily used by nsdc to parse the
52             config file from the shell.
53
54
55             The -o, -s and -z option print configfile options to standard
56             output.
57
58

FILES

60     /etc/nsd/nsd.conf
61             default NSD configuration file
62
63

SEE ALSO

65     nsd(8), nsd.conf(5), nsd-notify(8), nsd-patch(8), nsd-xfer(8), nsdc(8),
66     zonec(8)
67

AUTHORS

69     NSD was written by NLnet Labs and RIPE NCC joint team. Please see the
70     CREDITS file in the distribution for further details.
71
72                                  Sep 7, 2007
Impressum