commit 0171d5660cf4cd29b6c88b371b67069d3fd5ae66
Author: Stephen Wadeley <swadeley(a)redhat.com>
Date: Fri Nov 15 10:12:18 2013 +0100
Updates to note about directory used for BIND runtime data
Adding a link to the "Using the options statement" example
Updating the example to show pid-file & session-keyfile
Original "note" was in reference to:
Bug 977413 - named: "PID file has been moved to /run/named/named.pid" should
be documented
en-US/BIND.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/en-US/BIND.xml b/en-US/BIND.xml
index f689c9a..c6d2833 100644
--- a/en-US/BIND.xml
+++ b/en-US/BIND.xml
@@ -437,7 +437,7 @@ options {
<note>
<para>
- In Fedora 19, the <systemitem
class="daemon">named</systemitem> directory used for runtime data has
been moved from the BIND default location,
<filename>/var/run/named</filename>, to a new location
<filename>/run/named</filename>. As a result, the PID file has been moved from
the default location <filename>/var/run/named/named.pid</filename> to the new
location <filename>/run/named/named.pid</filename>. In addition, the
session-key file has been moved to
<filename>/run/named/session.key</filename>.
+ The directory used by <systemitem
class="daemon">named</systemitem> for runtime data has been moved from
the BIND default location, <filename
class="directory">/var/run/named/</filename>, to a new location
<filename class="directory">/run/named/</filename>. As a result, the
PID file has been moved from the default location
<filename>/var/run/named/named.pid</filename> to the new location
<filename>/run/named/named.pid</filename>. In addition, the session-key file
has been moved to <filename>/run/named/session.key</filename>. These locations
need to be specified by statements in the options section. See <xref
linkend="example-bind-namedconf-common-options" />.
</para>
</note> <important>
<title>Restrict recursive servers to selected clients
only</title>
@@ -461,6 +461,9 @@ options {
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
+
+ pid-file "/run/named/named.pid";
+ session-keyfile "/run/named/session.key";
};</programlisting>
</example>
</listitem>
Show replies by date