X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=config%2Fmake-named.pl;h=6e5e320db40e828282a007db0f002d544f3c4830;hb=204425369da0a7596ebcfc3646b6e2eb611dfd17;hp=e7fca4a45efeff7e77d36545df48cdac871f6fca;hpb=7ddb69d6d09d0b8feff0049dee084e4aa1f569b5;p=nms diff --git a/config/make-named.pl b/config/make-named.pl index e7fca4a..6e5e320 100755 --- a/config/make-named.pl +++ b/config/make-named.pl @@ -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) {