1nsd-checkconf(8) nsd 3.2.8 nsd-checkconf(8)
2
3
4
6 nsd-checkconf - NSD configuration file checker.
7
9 nsd-checkconf [-v] [-h] [-o option] [-z zonename] [-s keyname] config‐
10 file
11
13 nsd-checkconf reads a configuration file. It prints parse errors to
14 standard error, and performs additional checks on the contents. The
15 configfile format is described in nsd.conf(5).
16
17 The utility of this program is to check a config file for errors before
18 using it in nsd(8) or zonec(8). This program can also be used for shell
19 scripts to access the nsd config file, using the -o and -z options.
20
22 -v After reading print the options to standard output in configfile
23 format. Without this option, only success or parse errors are
24 reported.
25
26 -h Print usage help information and exit.
27
28 -o option
29 Return only this option from the config file. This option can to
30 be used in conjunction with the -z option. The special value
31 zones prints out a list of configured zones.
32
33 This option is primarily used by nsdc to parse the config file
34 from the shell. If the -z option is given, but the -o option is
35 not given, nothing is printed.
36
37 -s keyname
38 Prints the key secret (base64 blob) configured for this key in
39 the config file. Used to help shell scripts parse the config
40 file.
41
42 -z zonename
43 Return the option specified with -o for zone 'zonename'.
44
45 If this option is not given, the server section of the config
46 file is used. This option is primarily used by nsdc to parse
47 the config file from the shell.
48
49 The -o, -s and -z option print configfile options to standard
50 output.
51
53 /etc/nsd/nsd.conf
54 default NSD configuration file
55
57 nsd(8), nsdc(8), nsd.conf(5), nsd-notify(8), nsd-patch(8), nsd-xfer(8),
58 zonec(8)
59
61 NSD was written by NLnet Labs and RIPE NCC joint team. Please see CRED‐
62 ITS file in the distribution for further details.
63
64
65
66NLnet Labs Mar 22, 2011 nsd-checkconf(8)