blob: a503699624976aa72fd6b603bd74736f49cf717c [file] [log] [blame]
Ales Komareke34ea0a2014-09-22 12:36:27 +02001{%- from "bind/map.jinja" import server with context %}
Ales Komarek882ac7b2014-07-14 10:47:56 +02002options {
Ales Komareke34ea0a2014-09-22 12:36:27 +02003 directory "/var/cache/bind";
4 // If there is a firewall between you and nameservers you want
5 // to talk to, you may need to fix the firewall to allow multiple
6 // ports to talk. See http://www.kb.cert.org/vuls/id/800113
Ales Komarek882ac7b2014-07-14 10:47:56 +02007
Ales Komareke34ea0a2014-09-22 12:36:27 +02008 // If your ISP provided one or more IP addresses for stable
9 // nameservers, you probably want to use them as forwarders.
10 // Uncomment the following block, and insert the addresses replacing
11 // the all-0's placeholder.
Ales Komarek882ac7b2014-07-14 10:47:56 +020012
Ales Komareke34ea0a2014-09-22 12:36:27 +020013 // forwarders {
14 // 0.0.0.0;
15 // };
Ales Komarek882ac7b2014-07-14 10:47:56 +020016
Ales Komareke34ea0a2014-09-22 12:36:27 +020017 auth-nxdomain no; # conform to RFC1035
18 {%- if server.get('ipv6_enabled', 'False') %}
19 listen-on-v6 { {{ server.get('ipv6_listen', 'any') }}; };
20 {%- endif %}
Ales Komarek882ac7b2014-07-14 10:47:56 +020021};