]> git.sesse.net Git - nms/blobdiff - config/make-named.pl
Add a static net for Net.
[nms] / config / make-named.pl
index e7fca4a45efeff7e77d36545df48cdac871f6fca..6e5e320db40e828282a007db0f002d544f3c4830 100755 (executable)
@@ -46,6 +46,14 @@ zone "tg07.gathering.org" {
        allow-transfer { 87.76.255.2; };
 };
 
+// net-subnett
+zone "239.76.87.in-addr.arpa" {
+       type master;
+       file "239.76.87.in-addr.arpa";
+       notify yes;
+       allow-transfer { 87.76.255.2; 193.0.0.0/22; };
+};
+
 // serversubnett
 zone "254.76.87.in-addr.arpa" {
        type master;
@@ -60,6 +68,11 @@ zone "255.76.87.in-addr.arpa" {
        allow-transfer { 87.76.255.2; 193.0.0.0/22; };
 };
 
+key DHCP_UPDATER {
+       algorithm HMAC-MD5.SIG-ALG.REG.INT;
+       secret F388UOhaIIKHRH9TDE5PTA==;
+};
+
 zone "76.87.in-addr.arpa" {
        type master;
        allow-update { key DHCP_UPDATER; };
@@ -68,11 +81,6 @@ zone "76.87.in-addr.arpa" {
        allow-transfer { 194.19.3.20; 87.76.255.2; 193.0.0.0/22; };
 };
 
-key DHCP_UPDATER {
-       algorithm HMAC-MD5.SIG-ALG.REG.INT;
-       secret F388UOhaIIKHRH9TDE5PTA==;
-};
-
 EOF
 
 for my $net (@nets) {