include "/etc/rndc.key";

controls {
        inet 127.0.0.1 allow { localhost; } keys { "rndckey"; };
};
acl "trusted" {
ip.ip.ip.1;
ip.ip.ip.2;
ip.ip.ip.3;
ip.ip.ip.4;
127.0.0.1;
};

options {
        directory "/var/named";
        allow-recursion { trusted; };
        allow-notify { trusted; };
        allow-transfer { trusted; };
        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";
};

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

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };
};

zone "dominio.resolver" {
        type master;
        file "dominio.zone";
        allow-update { none; };
};
zone "79.79.215.in-addr.arpa" {
        type master;
        file "79.79.215.in-addr.arpa.zone";
        allow-update { none; };
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
};

logging {
        category default { default_syslog; default_debug; };
        category unmatched { null; };

channel default_syslog {
        syslog daemon;
        severity info;
};

channel default_debug {
        file "named.run";
        severity dynamic;
};

channel default_stderr {
        stderr;
        severity info;
};

channel null {
        null;
};

};

