bind slave dns example conf

acl recurseallow { 172.28.16.0/24; 172.28.35.0/24; 10.10.10.0/24; };

options {
	listen-on port 53 { 127.0.0.1; 172.28.16.2; };
	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";
	
	allow-query     { any; };
	allow-recursion { recurseallow; };
	forwarders {
		195.46.39.39;
		195.46.39.40;
		77.88.8.8;
		77.88.8.1;
	        8.8.8.8;
		8.8.4.4;
		195.175.39.39;
		195.175.39.40;
        };

	dnssec-enable yes;
	dnssec-validation yes;
	dnssec-lookaside auto;

	/* Path to ISC DLV key */
	bindkeys-file "/etc/named.iscdlv.key";

	managed-keys-directory "/var/named/dynamic";
};

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";

zone "bb.local" IN {
	type slave;
        masters { 172.28.35.2; };
	file "slaves/bb.local.db";
};

Bir Cevap Yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Şu HTML etiketlerini ve özelliklerini kullanabilirsiniz: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>