4 my $date = `date --rfc-2822`;
11 open NAMES, "switches.txt"
12 or die "switches.txt: $!";
15 /194\.0\.(\d+\.\d+)\s+(\d+)\s+(\S+)/ or next;
22 // Autogenerated by make-named.pl at $date. Do not edit manually!
25 directory "/etc/bind";
27 allow-transfer { 194.19.3.20; 194.0.255.2; };
31 // forwarders { 194.19.2.11; 194.19.3.11; };
35 zone "." { type hint; file "db.root"; };
37 zone "0.0.127.in-addr.arpa" {
39 file "0.0.127.in-addr.arpa";
43 zone "tg07.gathering.org" {
45 file "tg07.gathering.org";
47 allow-transfer { 194.0.255.2; };
51 zone "255.76.87.in-addr.arpa" {
53 file "255.76.87.in-addr.arpa";
55 allow-transfer { 194.0.255.2; 193.0.0.0/22; };
58 zone "76.87.in-addr.arpa" {
60 allow-update { key DHCP_UPDATER; };
62 file "dynamic/76.87.in-addr.arpa";
63 allow-transfer { 194.19.3.20; 194.0.255.2; 193.0.0.0/22; };
67 algorithm HMAC-MD5.SIG-ALG.REG.INT;
68 secret F388UOhaIIKHRH9TDE5PTA==;
74 my $domain = $netnames{$net};
76 if ($domain =~ /^split:(.*)/) {
77 @domains = split /,/, $1;
82 for my $d (@domains) {
84 zone "$d.tg07.gathering.org" {
86 allow-update { key DHCP_UPDATER; };
88 file "dynamic/$d.tg07.gathering.org";
89 allow-transfer { 194.19.3.20; 194.0.255.2; };