1nsd-checkconf(8)                   nsd 4.3.5                  nsd-checkconf(8)
2
3
4

NAME

6       nsd-checkconf - NSD configuration file checker.
7

SYNOPSIS

9       nsd-checkconf [-v] [-f] [-h] [-o option] [-z zonename] [-p pattern] [-s
10       keyname] configfile
11

DESCRIPTION

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). This program can also be used for shell scripts to
19       access the nsd config file, using the -o and -z options.
20

OPTIONS

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       -f     Print full pathname when used with files, like with -o  pidfile.
27              This  includes  the  chroot in the way it is applied to the pid‐
28              file.
29
30       -h     Print usage help information and exit.
31
32       -o option
33              Return only this option from the config file. This option can be
34              used  in  conjunction  with the -z and the -p option, or without
35              them to query the server:  section.   The  special  value  zones
36              prints  out  a list of configured zones.  The special value pat‐
37              terns prints out a list of configured patterns.
38
39              This option can be used to parse the config file from the shell.
40              If the -z option is given, but the -o option is not given, noth‐
41              ing is printed.
42
43       -s keyname
44              Prints the key secret (base64 blob) configured for this  key  in
45              the  config  file.  Used  to help shell scripts parse the config
46              file.
47
48       -p pattern
49              Return the option specified with -o for the given pattern name.
50
51       -z zonename
52              Return the option specified with -o for zone 'zonename'.
53
54              If this option is not given, the server section  of  the  config
55              file is used.
56
57              The  -o,  -s  and -z option print configfile options to standard
58              output.
59

FILES

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

SEE ALSO

65       nsd(8), nsd.conf(5), nsd-control(8)
66

AUTHORS

68       NSD was written by NLnet Labs and RIPE NCC joint team. Please see CRED‐
69       ITS file in the distribution for further details.
70
71
72
73NLnet Labs                       Jan 26, 2021                 nsd-checkconf(8)
Impressum