Enviado em 22/08/2018 - 16:53h
Olá.options {
listen-on port 53 { 127.0.0.1; 10.1.1.15; };
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; };
recursion yes;
allow-recursion { 127.0.0.1; };
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
#zone "." IN {
# type hint;
# file "named.ca";
#};
zone "." IN {
type forward;
forward only;
forwarders { 213.186.33.99; 8.8.8.8; 8.8.4.4; };
};
zone "dominio1.com.br" IN {
type slave;
file "bak.dominio1.com.br";
masterfile-format text;
masters { ipmasterdns; };
};
zone "dominio2.com.br" IN {
type slave;
file "bak.dominio2.com.br";
masterfile-format text;
masters { ipmasterdns; };
};
zone "dominio3.com.br" IN {
type slave;
file "bak.dominio3.com.br";
masterfile-format text;
masters { ipmasterdns; };
};
zone "13.55.137.in-addr.arpa" IN {
type slave;
file "bak.dominio1.com.br-reverso";
masterfile-format text;
masters { ipmasterdns; };
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";