summaryrefslogtreecommitdiffstats
path: root/named.conf.sample
diff options
context:
space:
mode:
authorTomas Hozza <thozza@redhat.com>2013-10-30 12:41:51 +0100
committerTomas Hozza <thozza@redhat.com>2013-10-30 12:45:06 +0100
commit93a69bb1610995fdcceb43380d275a85f6a60588 (patch)
treef72ddc0228ca5d46b104821bc9ed6544d5d8dce1 /named.conf.sample
parent09394b223af2c3aa27472496c764e5d6ad8bf7c3 (diff)
downloadbind-93a69bb1610995fdcceb43380d275a85f6a60588.tar.gz
bind-93a69bb1610995fdcceb43380d275a85f6a60588.tar.xz
bind-93a69bb1610995fdcceb43380d275a85f6a60588.zip
Added session-keyfile statement into default named.conf since we use /run/named
Since we don't use default /var/run/named path for PID file, we should not use it also for Dynamic DNS session key. Therefore the following line was added into the named.conf: session-keyfile "/run/named/session.key"; Signed-off-by: Tomas Hozza <thozza@redhat.com>
Diffstat (limited to 'named.conf.sample')
-rw-r--r--named.conf.sample3
1 files changed, 3 insertions, 0 deletions
diff --git a/named.conf.sample b/named.conf.sample
index 038e712..03df07e 100644
--- a/named.conf.sample
+++ b/named.conf.sample
@@ -71,7 +71,10 @@ options
/* Enable DLV by default, use built-in ISC DLV key. */
dnssec-lookaside auto;
+ /* In Fedora we use /run/named instead of default /var/run/named
+ so we have to configure paths properly. */
pid-file "/run/named/named.pid";
+ session-keyfile "/run/named/session.key";
managed-keys-directory "/var/named/dynamic";
};