summaryrefslogtreecommitdiff
path: root/bind
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-05-06 19:16:35 +0000
committerJonas Smedegaard <dr@jones.dk>2007-05-06 19:16:35 +0000
commit39d5354b4ad80f74e07756a80523ea6f027b0b6f (patch)
treec8cef6282f8d2f23ce9c5bad73a6298c333255b1 /bind
parentc6c1f5068e8aab9794f18d884ccf3ca814736e6e (diff)
Add CNAME-based reverse DNS to 192.168.222.0/24 network.
Diffstat (limited to 'bind')
-rw-r--r--bind/fake-222/192.168.22211
-rw-r--r--bind/named.conf.fake-2221
2 files changed, 12 insertions, 0 deletions
diff --git a/bind/fake-222/192.168.222 b/bind/fake-222/192.168.222
new file mode 100644
index 0000000..23c8fcb
--- /dev/null
+++ b/bind/fake-222/192.168.222
@@ -0,0 +1,11 @@
+$TTL 604800
+@ IN SOA localhost. root.localhost. (
+ 1 ; Serial
+ 604800 ; Refresh
+ 86400 ; Retry
+ 2419200 ; Expire
+ 604800 ) ; Negative Cache TTL
+;
+@ NS localhost.
+;
+$GENERATE 1-255 $ CNAME 192.168.222.$.jones.dk.
diff --git a/bind/named.conf.fake-222 b/bind/named.conf.fake-222
index 4868c3e..07c5b21 100644
--- a/bind/named.conf.fake-222
+++ b/bind/named.conf.fake-222
@@ -1,4 +1,5 @@
// private
+zone "222.168.192.in-addr.arpa"{ type master; file "/etc/local-JONES.DK/bind/fake-222/192.168.222"; allow-transfer { jones_slaves; }; };
// dk pending