summaryrefslogtreecommitdiff
path: root/bind/named.conf
blob: fd1f1ac37c39e4c81f51a032904ddca72f765b76 (plain)
    1 /* 	
    2  * /etc/named.conf
    3 */
    4 
    5 /************* global options *************/
    6 options {
    7 	directory "/var/named";
    8 	pid-file "/run/named/named.pid";
    9 	dump-file "/var/named/dump.named";	// cache file
   10 	request-ixfr yes;			// save bandwidth
   11 	recursion yes;				// please restrict this
   12 	allow-transfer {none;};
   13 	
   14 	//forwarders {			
   15 	//		217.5.100.1;		// forward queries to external dns servers
   16 	//		194.25.2.129;		// (sample: german telekom)
   17 	//};
   18 	
   19 	//listen-on {
   20 	//		127.0.0.1;	
   21 	//		192.168.10.1;
   22 	//	};
   23 	
   24 	listen-on { any; };			// listen on all IPv4 interfaces
   25 	listen-on-v6 { any; };			// listen on all IPv6 interfaces 
   26 };
   27 
   28 /************* zone info *************/
   29 // main zone
   30 zone "." in {
   31 	type hint;
   32 	file "named.root";
   33 };
   34 // IPv4, localhost reverse mapping
   35 zone "0.0.127.in-addr.arpa" in {
   36 	type master;
   37 	file "db.0.0.127";
   38 };
   39 // IPv6, localhost reverse mapping RFC 3152
   40 zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA" in {
   41 	type master;
   42 	file "db.ip6.arpa";
   43 };
   44 // IPv6, localhost reverse mapping RFC 1886 -- deprecated
   45 zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" in {
   46 	type master;
   47 	file "db.ip6.arpa";
   48 };
   49 // localhost zone
   50 zone "localhost" in {
   51 	type master;
   52 	file "db.localhost";
   53 };

Generated by cgit