forked from freifunkhamburg/bind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathffhh.conf
More file actions
56 lines (49 loc) · 1.41 KB
/
ffhh.conf
File metadata and controls
56 lines (49 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Keys we allow for editing
include "/etc/bind/secrets.conf";
#Zones WE have authority over!
#Apperantly for ffhh.
zone "ffhh" IN {
type master;
file "/etc/bind/master/db.ffhh";
allow-transfer { any; };
allow-update { key srv01-zone-key.; key srv01-userdomain-key.; };
};
zone "hamburg.freifunk.net" IN {
type master;
allow-transfer {
81.7.15.101; # named.exosphere.de
78.47.49.236; # ns.ohrensessel.net
};
also-notify {
81.7.15.101; # named.exosphere.de
78.47.49.236; # ns.ohrensessel.net
};
file "/etc/bind/master/db.net.freifunk.hamburg";
};
#And the reverse Zone for our IPv4 subnet
zone "112.10.in-addr.arpa" IN {
type master;
file "/etc/bind/master/db.arpa.in-addr.10.112";
allow-transfer { any; };
allow-update { key srv01-zone-key.; };
};
#And the reverse Zone for our IPv6 prefix
zone "7.6.2.2.3.0.a.2.ip6.arpa" IN {
type master;
file "/etc/bind/master/db.arpa.ip6.2.a.0.3.2.2.6.7";
allow-transfer {
81.7.15.101; # named.exosphere.de
78.47.49.236; # ns.ohrensessel.net
};
also-notify {
81.7.15.101; # named.exosphere.de
78.47.49.236; # ns.ohrensessel.net
};
allow-update { key srv01-zone-key.; };
};
zone "0.0.0.0.0.0.0.0.7.6.2.2.3.0.a.2.ip6.arpa" IN {
type master;
file "/etc/bind/master/db.arpa.ip6.2.a.0.3.2.2.6.7.0.0.0.0.0.0.0.0";
allow-transfer { any; };
allow-update { key srv01-zone-key.; };
};