4 my $date = `date --rfc-2822`;
8 open NAMES, "switches.txt"
9 or die "switches.txt: $!";
12 /87\.76\.(\d+\.\d+)\s+(\d+)\s+(\S+)/ or next;
21 // Autogenerated by make-named.pl at $date. Do not edit manually!
24 directory "/etc/bind";
26 allow-transfer { 194.19.3.20; 87.76.255.2; };
30 // forwarders { 194.19.2.11; 194.19.3.11; };
34 zone "." { type hint; file "db.root"; };
36 zone "0.0.127.in-addr.arpa" {
38 file "0.0.127.in-addr.arpa";
42 zone "tg07.gathering.org" {
44 file "tg07.gathering.org";
46 allow-transfer { 87.76.255.2; };
50 zone "0.76.87.in-addr.arpa" {
52 file "0.76.87.in-addr.arpa";
54 allow-transfer { 87.76.255.2; 193.0.0.0/22; };
58 zone "174.76.87.in-addr.arpa" {
60 file "174.76.87.in-addr.arpa";
62 allow-transfer { 87.76.255.2; 193.0.0.0/22; };
66 zone "239.76.87.in-addr.arpa" {
68 file "239.76.87.in-addr.arpa";
70 allow-transfer { 87.76.255.2; 193.0.0.0/22; };
74 zone "254.76.87.in-addr.arpa" {
76 file "254.76.87.in-addr.arpa";
78 allow-transfer { 87.76.255.2; 193.0.0.0/22; };
80 zone "255.76.87.in-addr.arpa" {
82 file "255.76.87.in-addr.arpa";
84 allow-transfer { 87.76.255.2; 193.0.0.0/22; };
88 algorithm HMAC-MD5.SIG-ALG.REG.INT;
89 secret F388UOhaIIKHRH9TDE5PTA==;
92 zone "76.87.in-addr.arpa" {
94 allow-update { key DHCP_UPDATER; };
96 file "dynamic/76.87.in-addr.arpa";
97 allow-transfer { 194.19.3.20; 87.76.255.2; 193.0.0.0/22; };
102 for my $net (@nets) {
103 my $domain = $net->{name};
105 zone "$domain.tg07.gathering.org" {
107 allow-update { key DHCP_UPDATER; };
109 file "dynamic/$domain.tg07.gathering.org";
110 allow-transfer { 194.19.3.20; 87.76.255.2; };