nsd-checkconf(8) nsd 4.8.0 nsd-checkconf(8) #
nsd-checkconf(8) nsd 4.8.0 nsd-checkconf(8)
NNAAMMEE #
nnssdd--cchheecckkccoonnff - NSD configuration file checker.
SSYYNNOOPPSSIISS #
nnssdd--cchheecckkccoonnff [--vv] [--ff] [--hh] [--oo _o_p_t_i_o_n] [--zz _z_o_n_e_n_a_m_e] [--pp _p_a_t_t_e_r_n] [--ss
_k_e_y_n_a_m_e] [--tt _t_l_s_a_u_t_h_n_a_m_e] _c_o_n_f_i_g_f_i_l_e
DDEESSCCRRIIPPTTIIOONN #
nnssdd--cchheecckkccoonnff 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).
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.
OOPPTTIIOONNSS #
--vv After reading print the options to standard output in configfile
format. Without this option, only success or parse errors are
reported.
--ff Print full pathname when used with files, like with -o pidfile.
This includes the chroot in the way it is applied to the pidfile.
--hh Print usage help information and exit.
--oo _o_p_t_i_o_n
Return only this option from the config file. This option can be
used in conjunction with the --zz and the --pp option, or without them
to query the server: section. The special value _z_o_n_e_s prints out
a list of configured zones. The special value _p_a_t_t_e_r_n_s prints out
a list of configured patterns.
This option can be used to parse the config file from the shell.
If the --zz option is given, but the --oo option is not given, nothing
is printed.
--ss _k_e_y_n_a_m_e
Prints the key secret (base64 blob) configured for this key in the
config file. Used to help shell scripts parse the config file.
--tt _t_l_s_-_a_u_t_h
Prints the authentication domain name configured for this tls-auth
clause in the config file. Used to help shell scripts parse the
config file.
--pp _p_a_t_t_e_r_n
Return the option specified with --oo for the given pattern name.
--zz _z_o_n_e_n_a_m_e
Return the option specified with --oo for zone 'zonename'.
If this option is not given, the server section of the config file
is used.
The -o, -s and -z option print configfile options to standard
output.
FFIILLEESS #
/var/nsd/etc/nsd.conf
default NNSSDD configuration file
SSEEEE AALLSSOO #
_n_s_d(8), _n_s_d_._c_o_n_f(5), _n_s_d_-_c_o_n_t_r_o_l(8)
AAUUTTHHOORRSS #
NNSSDD was written by NLnet Labs and RIPE NCC joint team. Please see CREDITS
file in the distribution for further details.
NLnet Labs December 6, 2023 nsd-checkconf(8)