named-checkconf
named configuration file syntax checking tool
- Provided by: bind9utils (Version: 1:9.10.3.dfsg.P4-8ubuntu1.19)
- Source: bind9
- Report a bug
named configuration file syntax checking tool
named-checkconf [-h] [-v] [-j] [-t directory] {filename} [-p] [-x] [-z]
named-checkconf checks the syntax, but not the semantics, of a named configuration file. The file is parsed and checked for syntax errors, along with all files included by it. If no file is specified, /etc/named.conf is read by default.
Note: files that named reads in separate parser contexts, such as rndc.key and bind.keys, are not automatically read by named-checkconf. Configuration errors in these files may cause named to fail to run, even if named-checkconf was successful. named-checkconf can be run on these files explicitly, however.
-h
-t directory
-v
-p
-x
-z
-j
filename
named-checkconf returns an exit status of 1 if errors were detected and 0 otherwise.
named(8), named-checkzone(8), BIND 9 Administrator Reference Manual.
Internet Systems Consortium
Copyright © 2004, 2005, 2007, 2009, 2014 Internet Systems
Consortium, Inc. ("ISC")
Copyright © 2000-2002 Internet Software Consortium.