// Two corporate subnets we wish to allow queries from.
acl  our-nets { 192.168.1.0/24 ; };
options {
        directory "/var/named/etc/namedb";
//      pid-file "named.pid";
//      listen-on { xxx.xxx.xxx.xxx; };
        version "";
//      allow-transfer { xxx.xxx.xxx.xxx; };
        auth-nxdomain yes;
        allow-query { our-nets; };
        allow-recursion { our-nets; };
};
// We are kichise.com master server
zone "tokyo.tag" {
        type master;
        file "tokyo.zone";
        allow-query { any; };

};
// We are kichise.com reverse mapping master server
zone "1.168.192.in-addr.arpa" {
        type master;
        file "tokyo.rev";
        allow-query { any; };
};
// Provide a reverse mapping for the loopback address 127.0.0.1
zone "0.0.127.in-addr.arpa" {
        type master;
        file "local.rev";
};
// Root server hints
zone "." { type hint; file "cache.db"; };

// for Dynamic update log
logging {
    channel update_debug {
        file "/var/log/update-debug.log" versions 3 size 5m;
        severity  debug 3;
        print-category yes;
        print-severity yes;
        print-time     yes;
    };
    channel security_info    {
    file "/var/log/named-auth.info" versions 3 size 5m;
        severity  info;
        print-category yes;
        print-severity yes;
        print-time     yes;
    };

      category update { update_debug; };
      category security { security_info; };
};
