mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-16 17:50:23 +00:00
26 lines
1,013 B
Text
26 lines
1,013 B
Text
options {
|
|
directory "/var/cache/bind";
|
|
|
|
// If there is a firewall between you and nameservers you want
|
|
// to talk to, you may need to fix the firewall to allow multiple
|
|
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
|
|
|
|
// If your ISP provided one or more IP addresses for stable
|
|
// nameservers, you probably want to use them as forwarders.
|
|
// Uncomment the following block, and insert the addresses replacing
|
|
// the all-0's placeholder.
|
|
|
|
// forwarders {
|
|
// 0.0.0.0;
|
|
// };
|
|
|
|
auth-nxdomain no; # conform to RFC1035
|
|
{% if salt['pillar.get']('bind:config:ipv6', 'False') %}
|
|
listen-on-v6 { {{ salt['pillar.get']('bind:config:ipv6_listen', 'any') }}; };
|
|
{% endif -%}
|
|
|
|
{# Allow inclusion of arbitrary statements -#}
|
|
{% for statement, value in salt['pillar.get']('bind:config:options', {}).iteritems() -%}
|
|
{{ statement }} {{ value}}
|
|
{% endfor -%}
|
|
};
|