From 0b15f32821893d5b9a819de25e9dcb12eb834225 Mon Sep 17 00:00:00 2001 From: Petr Menšík Date: Sep 13 2017 15:48:11 +0000 Subject: Add secroots and recursing path overrides, to write into data directory. --- diff --git a/bind.spec b/bind.spec index 42aac62..b8fa70e 100644 --- a/bind.spec +++ b/bind.spec @@ -1152,6 +1152,7 @@ rm -rf ${RPM_BUILD_ROOT} %changelog * Wed Aug 02 2017 Petr Menšík - 32:9.11.2-1 - Update to 9.11.2 +- Add recursing and secroots file into default and sample config * Wed Aug 02 2017 Fedora Release Engineering - 32:9.11.1-6.P3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/named.conf b/named.conf index 487007a..1dc9d15 100644 --- a/named.conf +++ b/named.conf @@ -14,6 +14,8 @@ options { dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; + secroots-file "/var/named/data/named.secroots"; + recursing-file "/var/named/data/named.recursing"; allow-query { localhost; }; /* diff --git a/named.conf.sample b/named.conf.sample index 9bf563f..995b05b 100644 --- a/named.conf.sample +++ b/named.conf.sample @@ -15,6 +15,8 @@ options dump-file "data/cache_dump.db"; statistics-file "data/named_stats.txt"; memstatistics-file "data/named_mem_stats.txt"; + secroots-file "data/named.secroots"; + recursing-file "data/named.recursing"; /* @@ -90,7 +92,7 @@ logging channel default_debug { file "data/named.run"; severity dynamic; - }; + }; }; /* @@ -175,7 +177,7 @@ view "internal" allow-update { key ddns_key; }; file "dynamic/my.ddns.internal.zone.db"; // put dynamically updateable zones in the slaves/ directory so named can update them - }; + }; }; key ddns_key