root / snf-deploy / files / etc / bind / named.conf.local @ 3c3bccab
History | View | Annotate | Download (974 Bytes)
1 |
// |
---|---|
2 |
// Do any local configuration here |
3 |
// |
4 |
|
5 |
// Consider adding the 1918 zones here, if they are not used in your |
6 |
// organization |
7 |
//include "/etc/bind/zones.rfc1918"; |
8 |
|
9 |
include "/etc/bind/ddns.key"; |
10 |
|
11 |
// all synnefo components share the same domain/zone |
12 |
zone "%DOMAIN%" in { |
13 |
type master; |
14 |
notify no; |
15 |
file "/etc/bind/zones/%DOMAIN%"; |
16 |
allow-update { key DDNS_UPDATE; }; |
17 |
}; |
18 |
|
19 |
# domain/zone for the VMs |
20 |
zone "vm.%DOMAIN%" in { |
21 |
type master; |
22 |
notify no; |
23 |
file "/etc/bind/zones/vm.%DOMAIN%"; |
24 |
allow-update { key DDNS_UPDATE; }; |
25 |
}; |
26 |
|
27 |
// reverse dns zone for all IPs |
28 |
zone "in-addr.arpa" in { |
29 |
type master; |
30 |
notify no; |
31 |
file "/etc/bind/rev/synnefo.in-addr.arpa.zone"; |
32 |
allow-update { key DDNS_UPDATE; }; |
33 |
}; |
34 |
|
35 |
// v6 reverse dns zone for all IPs |
36 |
zone "ip6.arpa" in { |
37 |
type master; |
38 |
notify no; |
39 |
file "/etc/bind/rev/synnefo.ip6.arpa.zone"; |
40 |
allow-update { key DDNS_UPDATE; }; |
41 |
}; |
42 |
|