help with classless network and reverse lookups

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Wed Mar 21 17:02:10 UTC 2001


> 
> Thanks for the response... I'm a little unclear
> about having the two zones...  probably becuase
> I didn't clearly state that I don't own the network
> addresses above my range of IP numbers, my ISP
> does... so they need to configure the CNAME
> portion, right?

	Yes

> And the reverse zone file I have
> listed below is all I need for reverse name lookups
> right?

	It's the minimum.

> As I only have 64 addresses... that's why I named
> the file 193.243.235 rather than 193.243.235.0-26
> because I won't have a 193.243.235.in-addr.arpa ...
> my ISP does.

	You should be a slave for 235.243.193.in-addr.arpa
	and a master for 0-26.235.243.193.in-addr.arpa though
	I would call it 0-63.235.243.193.in-addr.arpa and have
	the ISP delegate that zone and have the CNAMES point
	into that zone.

	0-63 is a range
	0/26 is a cidr block

	Classless in-addr does not always have to be a cidr block.

	However as you have things working I would not mess with it
	now other than changing the file name.

>  So I just named it 193.243.235 as it's
> quicker to type in and I know I only have 64 addresses
> and it won't conflict with any other files unless I get
> a whole class C which I more than likely never will
> as there are only 3 of us in the company .... In any
> case, I contacted my ISP this morning, they did something,
> and now it works, so I guess my files were right as
> it's working now.
> 
> I didn't understand the last part of this response...
> That I should "slave"  off of this zone... I'm not
> really too up on slaving, I presume if I slave, I cache
> the data from that zone and then I will still get reverse
> name lookups to work localy if I become disconnected
> for any reason...

	yes.

> any chance someone could
> show me what the entry in my named.conf would look like?
> and then I'll go away :-)

	zone "235.243.193.in-addr.arpa" {
		type slave;
		masters { 193.243.233.10; };
		file "193.243.235";  // note file name clash
	}

	Mark
> 
> Thanks
> 
> Bill
> 
> Mark.Andrews at nominum.com wrote:
> 
> > >
> > > Hi,
> > >
> > > I've been through the archive and I'm a little confused
> > > about classless subnetting and reverse name lookups.
> > > I believe I have my configuration setup correctly, but
> > > from what I have read in the archives, it seems to say
> > > that this should work for my internal network even if
> > > my ISP has not set their reverse zones up as per RFC2317...
> > > So, I am unclear if I have a problem in my configuration or
> > > if my ISP is not setup correctly and my server is referencing
> > > their servers and it isn't working because of that.  The
> > > relevent bits are...
> > >
> > > named.conf contains
> > >
> > > zone "0-26.235.243.193.in-addr.arpa"{
> > >         type master;
> > >         file "193.243.235";
> > > };
> >
> >         I would call the file "193.243.235.0-26", you will want
> >         "193.243.235" for the 235.243.193.in-addr.arpa zone.
> >
> > >
> > > 193.243.235 contains
> > >
> > > $ORIGIN 0-26.235.243.193.in-addr.arpa.
> > > @    IN SOA     ns0.terrapin.co.uk.     postmaster.bill.co.uk. (....)
> > > ...
> > > @                       NS      ns0.terrapin.co.uk.
> > > @                       NS      ns0.emtex.com.
> > > 3                       IN      PTR     lucida.terrapin.co.uk.
> >
> >         looks reasonable, however you should post the whole master
> >         file.
> >
> > >
> > > which I think is correct yet I can't get any reverse info,
> > > in fact when I start nslookup pointed at 193.243.235.3,
> > > it fails saying it can't find the name of the server.
> >
> >         Use dig, nslookup is querky.
> >
> > >  When
> > > I explicity point it at 193.243.235.3 again and do a host.domain
> > > lookup, it responds fine.... So, is the problem with my ISP
> > > or am I guilty of a typo somewhere (that I haven't been
> > > able to see for 10 hours????)
> > > The only other info I have at the moment is my My log files are telling
> > > me that
> > >
> > > named[4278]: Lame server on '3.235.243.193.in-addr.arpa' (in
> > > '235.243.193.in-addr.arpa'?): [193.243.233.9].53 'ns1.cerbernet.co.uk'
> > >
> > > ns1.cerbernet.co.uk is my ISPs name server....
> >
> >         Well you are not going to succeed until the parent zone is setup.
> >         You should also be a slave of this zone as you will need it when
> >         you are disconnected from the net.
> >
> >         Mark
> > >
> > > and then I get a
> > >
> > > named[4278]: ns_forw: query(10.235.243.193.in-addr.arpa) All possible A
> > > RR's lame
> > >
> > > and I haven't been able to figure out exactly what these
> > > are trying to tell me.
> > >
> > > I'd sure appreciate if someone could clear this up for me as
> > > I can't seem to make any further headway.
> > >
> > >
> > > Thanks,
> > >
> > > Bill
> > >
> > >
> > --
> > Mark Andrews, Nominum Inc.
> > 1 Seymour St., Dundas Valley, NSW 2117, Australia
> > PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com
> 
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list