From 39d5354b4ad80f74e07756a80523ea6f027b0b6f Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 6 May 2007 19:16:35 +0000 Subject: Add CNAME-based reverse DNS to 192.168.222.0/24 network. --- bind/fake-222/192.168.222 | 11 +++++++++++ bind/named.conf.fake-222 | 1 + 2 files changed, 12 insertions(+) create mode 100644 bind/fake-222/192.168.222 (limited to 'bind') 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 -- cgit v1.2.3