Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.nl.innet.net!INnl.net!feed1.news.innet.be!INbe.net!stns.news.pipex.net!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet From: brian@shift.utell.net (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: DNS on 2.1.7 Question Date: 4 Jun 1997 09:07:21 GMT Organization: Awfulhak Ltd. Lines: 67 Message-ID: <5n3b89$dpq@ui-gate.utell.co.uk> References: <338cf211.7815569@167.152.149.11> <michelle-0306971811480001@monalisa.primelogic.com> <5n32rm$ben@verdi.nethelp.no> Reply-To: brian@awfulhak.org, brian@utell.co.uk NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 To: sthaug@nethelp.no (Steinar Haug) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42318 [posted & mailed] In article <5n32rm$ben@verdi.nethelp.no>, sthaug@nethelp.no (Steinar Haug) writes: > [Michelle Brownsworth] > >| > (1) Our provider will only provide us with (for now) a 1/4 Class C >| > address block. How do I set the lines in named.boot to reflect this, >| > especially IN-ADDR-ARPA? >| >| Your named.boot file will not reflect anything special beyond listing the >| hosts that have been assigned IP numbers you were allocated from the >| partial C-block, and pointing named to the zone files for these hosts, as >| usual. >| >| Regarding the reverse, or IN-ADDR-ARPA, for your partial C-block, forget >| it. The reverse for your numbers needs to be done, certainly, but you >| will not be the one to do it; your provider owns the C-block and is >| responsible for doing the reverse for your IP addresses. Therefore, in >| named.boot the only reverse line will be for localhost; the line >| specifying the reverse for your C-block should be either commented out or >| deleted, since the reverse file resides on your provider's server, not >| yours. > > Sorry, this is wrong. It is perfectly possible to delegate a partial > class C block, see > > ftp.ietf.org://internet-drafts/draft-ietf-dnsind-classless-inaddr-03.txt > > I use such a partial C block delegation for my company. I have been > delegated 195.1.171.128/26, ie. a 1/4 of a C block (64 addresses). > > In my named.boot, I have: > > primary 128.171.1.195.in-addr.arpa pz/128.171.1.195 > > In pz/128.171.1.195, I have $ORIGIN 128.171.1.195.in-addr.arpa., and > then the normal SOA, NS and PTR records, eg: > > $ORIGIN 128.171.1.195.in-addr.arpa. > 130 PTR verdi.nethelp.no. > > The whole "trick" is done at my ISP, which has the following in the > 171.1.195.in-addr.arpa zone file: > > $ORIGIN 171.1.195.in-addr.arpa. > ; delegation > 128 NS verdi.nethelp.no. > 128 NS <other name servers for the zone> > ; and here's the trick: CNAME instead of PTR > 129 CNAME 129.128.171.1.195.in-addr.arpa. > 130 CNAME 130.128.171.1.195.in-addr.arpa. > 131 CNAME 131.128.171.1.195.in-addr.arpa. > 132 CNAME 132.128.171.1.195.in-addr.arpa. > . > > This works just fine, and I've had no problems with it (well, I had to > tell my ISP how to do it, but that's another story :-) Nice one :) > Steinar Haug, Nethelp consulting, sthaug@nethelp.no -- Brian <brian@awfulhak.org> <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour !