]> git.sesse.net Git - nms/blobdiff - config/make-named.pl
Changes for TG07; update IPs and remove option 82 stuff.
[nms] / config / make-named.pl
index 2099b647769483f55edb4de7993213bb4dc60a12..91efaa954d21293309be04f15e3afa64bb12f443 100755 (executable)
@@ -37,32 +37,32 @@ zone "0.0.127.in-addr.arpa" {
        notify no;
 };
 
-zone "tg06.gathering.org" {
+zone "tg07.gathering.org" {
        type master;
-       file "tg06.gathering.org";
+       file "tg07.gathering.org";
        notify yes;
        allow-transfer { 194.0.255.2; };
 };
 
 // serversubnett
-zone "255.0.194.in-addr.arpa" {
+zone "255.76.87.in-addr.arpa" {
        type master;
-       file "255.0.194.in-addr.arpa";
+       file "255.76.87.in-addr.arpa";
        notify yes;
        allow-transfer { 194.0.255.2; 193.0.0.0/22; };
 };
 
-zone "0.194.in-addr.arpa" {
+zone "76.87.in-addr.arpa" {
        type master;
        allow-update { key DHCP_UPDATER; };
        notify yes;
-       file "dynamic/0.194.in-addr.arpa";      
+       file "dynamic/76.87.in-addr.arpa";      
        allow-transfer { 194.19.3.20; 194.0.255.2; 193.0.0.0/22; };
 };
 
 key DHCP_UPDATER {
        algorithm HMAC-MD5.SIG-ALG.REG.INT;
-       secret 5Yz1azvh7mE0IRGffTvtKg==;
+       secret F388UOhaIIKHRH9TDE5PTA==;
 };
 
 EOF
@@ -78,11 +78,11 @@ for my $net (@nets) {
 
        for my $d (@domains) {
                print <<"EOF";
-zone "$d.tg06.gathering.org" {
+zone "$d.tg07.gathering.org" {
        type master;
        allow-update { key DHCP_UPDATER; };
        notify yes;
-       file "dynamic/$d.tg06.gathering.org";
+       file "dynamic/$d.tg07.gathering.org";
        allow-transfer { 194.19.3.20; 194.0.255.2; };
 };
 EOF