1 | |
---|
2 | // |
---|
3 | // from https://code.google.com/p/collective-intelligence-framework/wiki/BindSetup_v1 |
---|
4 | // |
---|
5 | |
---|
6 | options { |
---|
7 | // If there is a firewall between you and nameservers you want |
---|
8 | // to talk to, you may need to fix the firewall to allow multiple |
---|
9 | // ports to talk. See http://www.kb.cert.org/vuls/id/800113 |
---|
10 | |
---|
11 | // If your ISP provided one or more IP addresses for stable |
---|
12 | // nameservers, you probably want to use them as forwarders. |
---|
13 | // Uncomment the following block, and insert the addresses replacing |
---|
14 | // the all-0's placeholder. |
---|
15 | forward only; |
---|
16 | forwarders { |
---|
17 | 8.8.8.8; |
---|
18 | 8.8.4.4; |
---|
19 | }; |
---|
20 | |
---|
21 | auth-nxdomain no; # conform to RFC1035 |
---|
22 | // listen-on-v6 { any; }; |
---|
23 | listen-on { 127.0.0.1; }; |
---|
24 | }; |
---|
25 | |
---|
26 | // bypass the Google public servers |
---|
27 | zone "cymru.com" { |
---|
28 | forward only; |
---|
29 | type forward; |
---|
30 | forwarders { }; |
---|
31 | }; |
---|
32 | |
---|
33 | zone "zen.spamhaus.org" { |
---|
34 | forward only; |
---|
35 | type forward; |
---|
36 | forwarders { }; |
---|
37 | }; |
---|
38 | |
---|
39 | zone "dbl.spamhaus.org" { |
---|
40 | forward only; |
---|
41 | type forward; |
---|
42 | forwarders { }; |
---|
43 | }; |
---|
44 | |
---|