README reverse delegation example
authorTero Marttila <tero.marttila@aalto.fi>
Tue, 24 Feb 2015 18:55:47 +0200
changeset 448 5ab0ec8200c3
parent 447 6f0357759e9b
child 449 a19438b781d5
README reverse delegation example
README
etc/hosts/reverse
--- a/README	Tue Feb 24 18:22:07 2015 +0200
+++ b/README	Tue Feb 24 18:55:47 2015 +0200
@@ -48,3 +48,19 @@
     asdf03@asdf2                      A     10.100.100.13
     asdf05@asdf2                      A     10.100.100.15
 
+This feature can be used for generating reverse delegations:
+
+    [foo-{240-247}]
+        forward =
+        reverse = $.240/29.0.0.10.in-addr.arpa
+        ip      = 10.0.0.$
+    
+    $ bin/pvl.hosts-dns --reverse-zone=10 etc/hosts/reverse 
+    240.0.0                           CNAME 240.240/29.0.0.10.in-addr.arpa.
+    241.0.0                           CNAME 241.240/29.0.0.10.in-addr.arpa.
+    242.0.0                           CNAME 242.240/29.0.0.10.in-addr.arpa.
+    243.0.0                           CNAME 243.240/29.0.0.10.in-addr.arpa.
+    244.0.0                           CNAME 244.240/29.0.0.10.in-addr.arpa.
+    245.0.0                           CNAME 245.240/29.0.0.10.in-addr.arpa.
+    246.0.0                           CNAME 246.240/29.0.0.10.in-addr.arpa.
+    247.0.0                           CNAME 247.240/29.0.0.10.in-addr.arpa.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/hosts/reverse	Tue Feb 24 18:55:47 2015 +0200
@@ -0,0 +1,4 @@
+[foo-{240-247}]
+    forward =
+    reverse = $.240/29.0.0.10.in-addr.arpa
+    ip      = 10.0.0.$