NAMED-CHECKCONF(8) BIND9 NAMED-CHECKCONF(8)NAME
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-CHECKCONF(8) BIND9 NAMED-CHECKCONF(8)NAME
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)
I want to get the exit value of the last run.
I thought I can use the argument "$?" which supposed to hold the value but I get a syntax error.
Is there another way?
Thanks (2 Replies)
hello friends
I installed sun solaris 8 for x86 pc, and I want know where is the files of configuration (path), the name of files, and the named of daemon.
example: /etc/named.conf and the zones is /var/named, and the daemon is named....it's in linux system.
I need want only the name of files,... (2 Replies)
We're running Bind version 8.1.2 on Solaris.
How do you flush the DNS cache?
Also, I see the files named.boot and named.conf in /etc. Do I need both of these files? I've read that named.boot is for Bind version 4x, and that named.conf is for Bind version 8.x and greater.
Our resolv.conf file... (2 Replies)
Hello,
I am seeking help with someone with perl expertise that can create me a script that will read a named.conf file and create a csv or a text file on each of the zones that the named.conf contains. An excerpt of named.conf looks like:
acl "our_nets" {
127.0.0.1/32; ... (2 Replies)
Optiver is a worldwide market maker and derivatives trading firm with offices strategically located in Chicago, Amsterdam and Sydney. Attracting very ambitious, talented and results-oriented individuals to become members of a highly selective trading and support group is a primary contributor to... (0 Replies)
I just installed bind*
and then configured named.conf and zone files.
but when I am stating named its giving below error.
# /etc/init.d/named restart
Stopping named:
Starting named:
and in log i... (1 Reply)