//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver 
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on 
// caching-namesernver package upgrade.
//

include "./named.rfc1912.zones";
include "./rndc.key";

controls {
	inet * port 1953 allow { localhost; } keys { rndc-key; } ;
};

options {
	listen-on port 1153 { 127.0.0.1; };
	listen-on-v6 port 1153 { ::1; };
	directory 	".";
	dump-file 	"./data/cache_dump.db";
        statistics-file "./data/named_stats.txt";
        memstatistics-file "./data/named_mem_stats.txt";
	allow-query     { localhost; };
	recursion yes;

	pid-file "./named.pid" ;
#        dnssec-enable yes;
#       dnssec-must-be-secure "netsec.tislabs.com." yes;
};

zone "." IN {
	type hint;
	file "named.ca";
};


zone "example.com" {
	type master;
	file "./example.com.signed";
};
    

