]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2821. [doc] Add note that named-checkconf doesn't automatically
authorEvan Hunt <each@isc.org>
Mon, 28 Dec 2009 23:21:16 +0000 (23:21 +0000)
committerEvan Hunt <each@isc.org>
Mon, 28 Dec 2009 23:21:16 +0000 (23:21 +0000)
read rndc.key and bind.keys [RT #20758]

CHANGES
bin/check/named-checkconf.docbook

diff --git a/CHANGES b/CHANGES
index 077125ec3d23772f5fb6e7360a26f7c67f7ea719..6e35cd3fbf58f781460066c5d3928594599574a9 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2821.  [doc]           Add note that named-checkconf doesn't automatically
+                       read rndc.key and bind.keys [RT #20758]
+
 2820.  [func]          Handle read access failure of OpenSSL configuration
                        file more user friendly (PKCS#11 engine patch).
                        [RT #20668]
index 877998be0cc9e2b616cba3ce8494a38d01027a4c..9535e28430cfdcb5203d787e25530510159dea07 100644 (file)
@@ -18,7 +18,7 @@
  - PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: named-checkconf.docbook,v 1.21 2009/07/13 23:47:42 tbox Exp $ -->
+<!-- $Id: named-checkconf.docbook,v 1.22 2009/12/28 23:21:16 each Exp $ -->
 <refentry id="man.named-checkconf">
   <refentryinfo>
     <date>June 14, 2000</date>
   <refsect1>
     <title>DESCRIPTION</title>
     <para><command>named-checkconf</command>
-      checks the syntax, but not the semantics, of a named
-      configuration file.
+      checks the syntax, but not the semantics, of a
+      <command>named</command> configuration file.  The file is parsed
+      and checked for syntax errors, along with all files included by it.
+      If no file is specified, <filename>/etc/named.conf</filename> is read
+      by default.
+    </para>
+    <para>
+      Note: files that <command>named</command> reads in separate
+      parser contexts, such as <filename>rndc.key</filename> and
+      <filename>bind.keys</filename>, are not automatically read
+      by <command>named-checkconf</command>.  Configuration
+      errors in these files may cause <command>named</command> to
+      fail to run, even if <command>named-checkconf</command> was
+      successful.  <command>named-checkconf</command> can be run
+      on these files explicitly, however.
     </para>
   </refsect1>