Re: how to setup revdns for /16 subnet

Mark Andrews Mark_Andrews at isc.org
Mon Jul 28 13:10:42 UTC 2008


> > On 28.07.08 13:07, Tomasz Pajor wrote:
> > > How can I setup a revdns for a /16 subnet?
> > > Subnet is split to 1x /17 2x /18.
> 
> > what do you mean split? are they 3 different ranges you got from your RIR o
> r
> > is that private subnet
> 
> I've got a /16 and it will be split into 3 subnets, and I want to create a se
> parate revdns zone for each one.

	Just create zones for each of the /24's that make up the /17's and
	/18's.  Delegate from the /16 to these /24's.

	$ORIGIN x.y.in-addr.arpa.
	@	SOA ...
	@	NS	ns1.example.net.
	@	NS	ns2.example.net.
	0	NS	ns1.sub1.example.net
	0	NS	ns2.sub1.example.net
	...
	127	NS	ns1.sub1.example.net
	127	NS	ns2.sub1.example.net
	128	NS	ns1.sub2.example.net
	128	NS	ns2.sub2.example.net
	...
	191	NS	ns1.sub2.example.net
	191	NS	ns2.sub2.example.net
	192	NS	ns1.sub3.example.net
	192	NS	ns2.sub3.example.net
	...
	255	NS	ns1.sub3.example.net
	255	NS	ns2.sub3.example.net
 
> > > Do I need to create a separate zone file for each class
> > > (1.1.x.y.in-addr.arpa, 1.10.x.y.in-addr.arpa etc.) or can I create three
> > > zone files for each subnet and place PTR records there?
> > 
> > You can create reverse zone for /16 (b.a.in-addr.arpa) or /24
> > (c.b.a.in-addr.arpa). It's easier to mainsain smaller files (256 reverse
> > zones for /24) but it's probably easier to register reverse for /16 if
> > that's public address space.
> 
> That's a public address space.
> I found an rfc (http://www.rfc-archive.org/getrfc.php?rfc=4183) i tried to do
>  as it says but it won't work :/
> 
> 
> 
> 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the bind-users mailing list