how to setup class b ?

Mark_Andrews at isc.org Mark_Andrews at isc.org
Sun Jul 4 07:48:27 UTC 1999


	Is this any clearer?

	172.27.X.Y become Y.X (reverse order) in the reverse zone.

	Mark

Forward:
$ORIGIN	example.
@	IN	SOA	ns1.example. hostmaster.ns1.example. 1 2 3 4 5
	IN	NS	ns1.example.
	IN	NS	ns2.example.
host1	IN	A	172.27.0.1
host2	IN	A	172.27.0.2
host3	IN	A	172.27.0.3
ns2	IN	A	127.27.255.253
ns1	IN	A	127.27.255.254

Reverse:
$ORIGIN	27.172.in-addr.arpa.
@	IN	SOA	ns1.example. hostmaster.ns1.example. 1 2 3 4 5
	IN	NS	ns1.example.
	IN	NS	ns2.example.
1.0	IN	PTR	host1.example.
2.0	IN	PTR	host2.example.
3.0	IN	PTR	host3.example.
253.255	IN	PTR	ns2.example.
254.255	IN	PTR	ns1.example.


> Maybe this would be easier:
> Is there documentation somewhere on how to setup 1 table for the reverse on a
> n
> entire class B?  Or maybe 2 tables, but I just don't want 1 table for each /2
> 4
> net...too many tables...
> I didn't find anything usefull in the o'riley dns & bind book, so if there is
> another book or web site or something..
> 
> Dan
> 
> Michael Voight wrote:
> > 
> > Daniel Wittenberg wrote:
> > >
> > > ok...this doesn't make a lot of sense then.  The address I have is say
> > > 172.27.0.0, so the table is for 172.27, so that is why I had 0.1, 0.2...2
> 55.255.
> > >  The 1.0 and 2.0 are completely different net's in this case.  I basicall
> y have
> > > set aside the first class C of addresses for server use, and the rest are
>  DHCP.
> > > Does this make more sense?  So the addresses that do not work:
> > > 172.27.0.1
> > > 172.27.0.2
> > > 172.27.0.x
> > >
> > > 172.27.1.x does work...just not 0.x as I unsuccessfully tried to state ea
> rlier...
> > >
> > > Dan
> > 
> > Dan,
> > 
> > Then, give us the full info from the zone. Your posting did not include
> > any PTR entries for the 0 subnet, so we assumed 0.1 and 0.2 were what
> > you were trying to use. Since this is a reverse zone, 0.1 would mean
> > 172.27.1.0.
> > 
> > Michael
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list