Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

named-checkconf(8) [centos man page]


named-checkconf - named configuration file syntax checking tool SYNOPSIS
named-checkconf [-h] [-v] [-j] [-t directory] {filename} [-p] [-z] DESCRIPTION
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. OPTIONS
-h Print the usage summary and exit. -t directory Chroot to directory so that include directives in the configuration file are processed as if run by a similarly chrooted named. -v Print the version of the named-checkconf program and exit. -p Print out the named.conf and included files in canonical form if no errors were detected. -z Perform a test load of all master zones found in named.conf. -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 /etc/named.conf. RETURN VALUES
named-checkconf returns an exit status of 1 if errors were detected and 0 otherwise. SEE ALSO
named(8), named-checkzone(8), BIND 9 Administrator Reference Manual. AUTHOR
Internet Systems Consortium COPYRIGHT
Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC") Copyright (C) 2000-2002 Internet Software Consortium. BIND9 June 14, 2000 NAMED-CHECKCONF(8)

Check Out this Related Man Page

named-checkzone(1M)					  System Administration Commands				       named-checkzone(1M)

named-checkzone - zone file validity checking tool SYNOPSIS
named-checkzone [-djqv] [-c class] [-k mode] [-n mode] [-o filename] [-t directory] [-w directory] [-D] zonename filename DESCRIPTION
The named-checkzone utility checks the syntax and integrity of a zone file. It performs the same checks as named(1M) does when loading a zone. The named-checkzone utility is useful for checking zone files before configuring them into a name server. OPTIONS
The following options are supported: -c class Specify the class of the zone. If not specified, "IN" is assumed. -d Enable debugging. -D Dump zone file in canonical format. -k mode Perform "check-name" checks with the specified failure mode. Possible modes are "fail", "warn" (the default) and "ignore". -j Read the journal, if it exists, when loading the zone file. -n mode Specify whether NS records should be checked to see if they are addresses. Possible modes are "fail", "warn" (the default) and "ignore". -o filename Write zone output to filename. -q Run in quiet mode, reporting only the exit status. -t directory chroot to directory so that include directives in the configuration file are processed as if run by a similarly chrooted named. -v Print the version of the named-checkzone program and exit. -w directory chdir to directory so that relative filenames in master file $INCLUDE directives work. This is similar to the directory clause in named.conf. OPERANDS
The following operands are supported: filename The name of the zone file. zonename The domain name of the zone being checked. EXIT STATUS
0 No errors were detected. 1 An error was detected. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWbind | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
named(1M), named-checkconf(1M), attributes(5) RFC 1035 BIND 9 Administrator Reference Manual, available on the ISC web site. SunOS 5.11 24 Dec 2008 named-checkzone(1M)

Featured Tech Videos