// acl "foo" {
//     ::ffff:192.0.2.21; 192.0.2.21;
//     2001:db8::21;
// };

options {
      directory "{{ bind_cache_dir }}";
      version "Bingo";
      auth-nxdomain no;
      masterfile-format text;
      statistics-file "{{ bind_statistics_file }}";

      listen-on-v6 { any; };
      listen-on { any; };

      allow-query { localhost; };
      allow-recursion { localhost; };
      allow-transfer { localhost; };
};

logging {
    category default { default_file; };
{% if bind_query_file_enabled | bool %}
    category queries { query_logging; };
{% endif %}

    channel default_file {
        file "{{ bind_log_file }}";
        severity info;
    };
{% if bind_query_file_enabled | bool %}
    channel query_logging {
        file "{{ bind_query_file }}" versions 2 size 128M;
        print-category yes;
        print-severity yes;
        print-time yes;
    };
{% endif %}
};
