740ffbd35e95ba55091c451ed9997a7e53eb6160
[demo.git] / boot / bind_options
1 acl "trusted" {
2         #x.x.x.x;
3 };
4 options {
5         directory "/var/cache/bind";
6
7         recursion yes;                # enables recursive queries
8         allow-recursion { any; };     # allows recursive queries from "trusted” clients i.e. LB only
9         listen-on { dns_ip_addr; };   # ns1 IP address - listen on this address only
10         allow-transfer { none; };      # disable zone transfers by default
11
12         forwarders {
13                 dns_forwarder;
14                 external_dns;
15                 8.8.4.4;
16         };
17
18         // If there is a firewall between you and nameservers you want
19         // to talk to, you may need to fix the firewall to allow multiple
20         // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
21
22         // If your ISP provided one or more IP addresses for stable
23         // nameservers, you probably want to use them as forwarders.
24         // Uncomment the following block, and insert the addresses replacing
25         // the all-0's placeholder.
26
27         // forwarders {
28         //      0.0.0.0;
29         // };
30
31         //========================================================================
32         // If BIND logs error messages about the root key being expired,
33         // you will need to update your keys.  See https://www.isc.org/bind-keys
34         //========================================================================
35         dnssec-validation no;
36
37         auth-nxdomain no;    # conform to RFC1035
38         listen-on-v6 { any; };
39 };
40