<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
Ed (I didn't see your post to the list?), <BR>
I tend to agree with Ben, I looked into this a few years ago and couldn't see a way, decided it was less time to write a perl script to automate it all than to keep experimenting.<BR>
It creates the PTR zone, adds to named.conf and adds the corresponding A records to its zone file. If you want a copy of the script, contact me off-list<BR>
<BR>
Noel<BR>
<BR>
On Mon, 2009-03-16 at 09:39, Ben Bridges wrote:
<BLOCKQUOTE TYPE=CITE>
<FONT COLOR="#8b6914" SIZE="2"><I>It sounds like you are looking for some configuration shorthand for BIND that will allow you to configure it to be authoritative for the 16 /24's comprising the /20 without having to explicitly configure 16 zones on BIND. I think you're out of luck - BIND needs to have a zone statement for each zone for which it is authoritative.</FONT><BR>
<FONT COLOR="#8b6914"> </FONT><BR>
<HR>
<FONT COLOR="#8b6914" SIZE="2"><B>From:</B> bind-users-bounces@lists.isc.org on behalf of Ed Bee<BR>
<B>Sent:</B> Sat 3/14/2009 7:47 PM<BR>
<B>To:</B> bind-users@lists.isc.org<BR>
<B>Subject:</B> subnets combining</FONT><BR>
<FONT COLOR="#8b6914"><BR>
<BR>
Hello,<BR>
We are moving our DNS from djbdns to bind9 in next few day.<BR>
<BR>
We have /20 IP range, but in trying to use one named.conf entry it seem we msising something.<BR>
<BR>
This is what we try do, our example will use </FONT><A HREF="http://10.1.1.0/20"><FONT COLOR="#ff0000"><B><U>MailScanner has detected a possible fraud attempt from "10.1.1.0" claiming to be</B></FONT></A><A HREF="http://10.1.1.0/20"><font color="red"><b>MailScanner has detected a possible fraud attempt from "10.1.1.0" claiming to be</b></font> 10.1.1.0/20</U></A><BR>
<FONT COLOR="#8b6914">Applying classless delegation principle (mabe this only work on sub /24 ?)<BR>
<BR>
zone "1/20.1.10.in-addr.arpa" {<BR>
type master;<BR>
file "dsl.rev";<BR>
......(other options)<BR>
};<BR>
<BR>
(even try 0.1/</FONT><A HREF="http://20.1.10."><font color="red"><b>MailScanner has detected a possible fraud attempt from "20.1.10" claiming to be</b></font> <FONT COLOR="#ff0000"><B><U>MailScanner warning: numerical links are often malicious:</B></FONT></A><A HREF="http://20.1.10."><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> 20.1.10.</U></A><FONT COLOR="#8b6914">...)<BR>
<BR>
zone file is<BR>
<BR>
$ORIGIN 0/20.1.10.in-addr.arpa. (every combination tried match named.conf entry)<BR>
$TTL 1D<BR>
@ SOA ..... (everything else)<BR>
<BR>
<BR>
Zones all load but still show NXDOMAIN<BR>
dumpdb shows 1.0/20.1.10.in-addr.arpa etc which look very wrong ?<BR>
<BR>
<BR>
We miss something? Surely not have to write named.conf zone entry for every /24 separate?<BR>
Thank you very much for help<BR>
<BR>
<BR>
<HR>
<PRE>_______________________________________________
bind-users mailing list
bind-users@lists.isc.org</FONT>
<A HREF="https://lists.isc.org/mailman/listinfo/bind-users"><U>https://lists.isc.org/mailman/listinfo/bind-users</U></I></A></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>