// vim:set ts=4 sw=4 et: acl internals { 127.0.0.0/8; {{ local_subnet }}; }; options { directory "/var/named"; pid-file "/run/named/named.pid"; forwarders { {{ dns_forward }}; }; // Uncomment these to enable IPv6 connections support // IPv4 will still work: // listen-on-v6 { any; }; // Add this for no IPv4: // listen-on { none; }; recursion yes; allow-query { internals; }; allow-transfer { none; }; dnssec-validation auto; allow-update { none; }; version none; hostname none; server-id none; }; zone "localhost" IN { type master; file "localhost.zone"; }; zone "0.0.127.in-addr.arpa" IN { type master; file "127.0.0.zone"; }; zone "{{ domain }}" { type master; file "/var/named/{{ domain }}"; }; zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" { type master; file "localhost.ip6.zone"; };