logging {
category lame-servers { null; };
category edns-disabled { null; };
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
acl clientes {
localhost;
192.168.0.0/24; // rede local
};
options {
listen-on port 53 { 127.0.0.1; <#IPINVAL>; <#IPVAL>; };
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";
recursion yes;
allow-recursion { clientes; };
allow-query { clientes; };
};
zone "<#DOMINIO>" IN {
type master;
file "<#DOMINIO>.zone";
allow-update { none; };
allow-transfer { <#IP_DNS_SECUNDARIO>; };
allow-query { any; };
};