chiark / gitweb /
distorted.lisp: Emit reverse zones for optimistic RFC2317 delegations.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 25 Apr 2014 23:16:50 +0000 (00:16 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 27 Apr 2014 22:33:38 +0000 (23:33 +0100)
Makefile
distorted.lisp

index 9128104..fc2c0cb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -67,6 +67,9 @@ distorted_inside_NETS  = any unsafe colo vpn
 
 distorted_all_ZONES    += distorted.org.uk
 
+distorted_all_ZONES    += 144-159.204.49.62.in-addr.arpa
+distorted_all_ZONES    += 64-79.198.13.212.in-addr.arpa
+
 distorted_all_ZONES    += 199.29.172.in-addr.arpa
 
 distorted_all_ZONES    += 8.9.b.1.9.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa
index a9aa9ab..80c9a34 100644 (file)
@@ -274,20 +274,48 @@ (defrevzone trusted
             vampire.distorted.org.uk.))
   :multi (((dhcp safe) :family :ipv4 :suffix "199.29.172.dhcp") :cname *))
 
-(defrevzone dmz
+(defrevzone (dmz :family :ipv6)
   :ns (radius.distorted.org.uk.
        precision.distorted.org.uk.
        telecaster.distorted.org.uk.
        vampire.distorted.org.uk.)
   :reverse dmz)
 
-(defrevzone jump
+(defrevzone (dmz :family :ipv4)
+  (144-159 :ns (radius.distorted.org.uk.
+               precision.distorted.org.uk.
+               telecaster.distorted.org.uk.
+               vampire.distorted.org.uk.))
+  :multi ((dmz :suffix "144-159") :cname *))
+
+(defzone 144-159.204.49.62.in-addr.arpa
+  :ns (radius.distorted.org.uk.
+       precision.distorted.org.uk.
+       telecaster.distorted.org.uk.
+       vampire.distorted.org.uk.)
+  :reverse ((((:ipv4 dmz)))))
+
+(defrevzone (jump :family :ipv6)
   :ns (radius.distorted.org.uk.
        precision.distorted.org.uk.
        telecaster.distorted.org.uk.
        vampire.distorted.org.uk.)
   :reverse jump)
 
+(defrevzone (jump :family :ipv4)
+  (64-79 :ns (radius.distorted.org.uk.
+             precision.distorted.org.uk.
+             telecaster.distorted.org.uk.
+             vampire.distorted.org.uk.))
+  :multi ((jump :suffix "64-79") :cname *))
+
+(defzone 64-79.198.13.212.in-addr.arpa
+  :ns (radius.distorted.org.uk.
+       precision.distorted.org.uk.
+       telecaster.distorted.org.uk.
+       vampire.distorted.org.uk.)
+  :reverse ((((:ipv4 jump)))))
+
 (defrevzone distorted.org.uk-he
   :ns (radius.distorted.org.uk.
        precision.distorted.org.uk.