Blame SOURCES/named.conf

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