nnaammeedd--cchheecckkccoonnff checks the syntax, but not the semantics, of a nnaammeedd configuration file. The file is parsed and checked for syntax errors, along with all files included by it. If no file is specified, _/_e_t_c_/_n_a_m_e_d_._c_o_n_f is read by default.
Note: files that nnaammeedd reads in separate parser contexts, such as _r_n_d_c_._k_e_y and _b_i_n_d_._k_e_y_s, are not automatically read by nnaammeedd--cchheecckkccoonnff. Configuration errors in these files may cause nnaammeedd to fail to run, even if nnaammeedd--cchheecckkccoonnff was successful. nnaammeedd--cchheecckkccoonnff can be run on these files explicitly, however.
-h Print the usage summary and exit.
-t _d_i_r_e_c_t_o_r_y Chroot to _d_i_r_e_c_t_o_r_y so that include directives in the configuration file are processed as if run by a similarly chrooted named.
-v Print the version of the nnaammeedd--cchheecckkccoonnff program and exit.
-p Print out the _n_a_m_e_d_._c_o_n_f and included files in canonical form if no errors were detected.
-z Perform a test load of all master zones found in _n_a_m_e_d_._c_o_n_f.
-j When loading a zonefile read the journal if it exists.
filename The name of the configuration file to be checked. If not specified, it defaults to _/_e_t_c_/_n_a_m_e_d_._c_o_n_f.
nnaammeedd--cchheecckkccoonnff returns an exit status of 1 if errors were detected and 0 otherwise.
nnaammeedd(8), nnaammeedd--cchheecckkzzoonnee(8), BIND 9 Administrator Reference Manual.
Internet Systems Consortium