Blame SOURCES/named.conf

854838
//
854838
// named.conf
854838
//
854838
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
854838
// server as a caching only nameserver (as a localhost DNS resolver only).
854838
//
854838
// See /usr/share/doc/bind*/sample/ for example named configuration files.
854838
//
854838
854838
options {
854838
	listen-on port 53 { 127.0.0.1; };
854838
	listen-on-v6 port 53 { ::1; };
854838
	directory 	"/var/named";
854838
	dump-file 	"/var/named/data/cache_dump.db";
854838
	statistics-file "/var/named/data/named_stats.txt";
854838
	memstatistics-file "/var/named/data/named_mem_stats.txt";
854838
	secroots-file	"/var/named/data/named.secroots";
854838
	recursing-file	"/var/named/data/named.recursing";
854838
	allow-query     { localhost; };
854838
854838
	/* 
854838
	 - If you are building an AUTHORITATIVE DNS server, do NOT enable recursion.
854838
	 - If you are building a RECURSIVE (caching) DNS server, you need to enable 
854838
	   recursion. 
854838
	 - If your recursive DNS server has a public IP address, you MUST enable access 
854838
	   control to limit queries to your legitimate users. Failing to do so will
854838
	   cause your server to become part of large scale DNS amplification 
854838
	   attacks. Implementing BCP38 within your network would greatly
854838
	   reduce such attack surface 
854838
	*/
854838
	recursion yes;
854838
854838
	dnssec-validation yes;
854838
854838
	managed-keys-directory "/var/named/dynamic";
854838
	geoip-directory "/usr/share/GeoIP";
854838
854838
	pid-file "/run/named/named.pid";
854838
	session-keyfile "/run/named/session.key";
854838
854838
	/* https://fedoraproject.org/wiki/Changes/CryptoPolicy */
854838
	include "/etc/crypto-policies/back-ends/bind.config";
854838
};
854838
854838
logging {
854838
        channel default_debug {
854838
                file "data/named.run";
854838
                severity dynamic;
854838
        };
854838
};
854838
854838
zone "." IN {
854838
	type hint;
854838
	file "named.ca";
854838
};
854838
854838
include "/etc/named.rfc1912.zones";
854838
include "/etc/named.root.key";
854838