Browse Source

Bind options

Ernesto Nicolás Carrea 5 years ago
parent
commit
118fd8c29c
2 changed files with 1 additions and 39 deletions
  1. 0 38
      install/rhel/bind/named.conf
  2. 1 1
      install/rhel/bind/named.conf.options

+ 0 - 38
install/rhel/bind/named.conf

@@ -1,41 +1,3 @@
-options {
-	listen-on port 53 { 127.0.0.1; };
-	listen-on-v6 port 53 { ::1; };
-	directory 	"/var/named";
-	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; };
-
-	recursion yes;
-
-	dnssec-enable yes;
-	dnssec-validation yes;
-
-	managed-keys-directory "/var/named/dynamic";
-
-	pid-file "/run/named/named.pid";
-	session-keyfile "/run/named/session.key";
-
-	/* https://fedoraproject.org/wiki/Changes/CryptoPolicy */
-	include "/etc/crypto-policies/back-ends/bind.config";
-};
-
-logging {
-        channel default_debug {
-                file "data/named.run";
-                severity dynamic;
-        };
-};
-
-zone "." IN {
-	type hint;
-	file "named.ca";
-};
-
 include "/etc/named.rfc1912.zones";
 include "/etc/named.root.key";
 include "/etc/named.conf.options";
-

+ 1 - 1
install/rhel/bind/named.conf.options

@@ -1,5 +1,5 @@
 options {
-        directory "/var/cache/bind";
+        directory "/var/named";
          // If there is a firewall between you and nameservers you want
         // to talk to, you may need to fix the firewall to allow multiple
         // ports to talk.  See http://www.kb.cert.org/vuls/id/800113