Ales Komarek | 882ac7b | 2014-07-14 10:47:56 +0200 | [diff] [blame] | 1 | options { |
| 2 | directory "/var/cache/bind"; |
| 3 | |
| 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 |
| 7 | |
| 8 | // 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. |
| 12 | |
| 13 | // forwarders { |
| 14 | // 0.0.0.0; |
| 15 | // }; |
| 16 | |
| 17 | auth-nxdomain no; # conform to RFC1035 |
| 18 | {% if salt['pillar.get']('bind:config:ipv6', 'False') %} |
| 19 | listen-on-v6 { {{ salt['pillar.get']('bind:config:ipv6_listen', 'any') }}; }; |
| 20 | {% endif %} |
| 21 | }; |