Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2000 18:40:48 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        yvonne kravitz <yvonnek@switchpwr.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: DNS setup on small class c network
Message-ID:  <Pine.BSF.3.96.1001011182853.147D-100000@java.dpcsys.com>
In-Reply-To: <39E4FC3E.BB2EDC42@switchpwr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Oct 2000, yvonne kravitz wrote:
> I have a small section of a c class network 12.14.48.16-> 12.14.48.31
> (nw->broadcast) ns at 12.14.48.19 and ns1 at 12.14.48.20
> 16 ip's /28 how do i handle named.conf, db.network.com  and
> network-reverse files for this network ? Anyone have a similar situation
> 
> and care to comment.( this network has been up running primary DNS for
> over 2 years, however reverse dns needs work. Thanks in advance for an
> input.

You have to work this out with your ISP.  Nothing you do on your own
can make it work.

They need to delegate your subnet within the reverse zone they
maintain.  They will delegate a zone with an extra octet.  If
you had the full /24 they would delegate 48.14.12.in-addr.arpa
to you.  With just that subnet they will make up a zone name,
commonly something like 16/28.48.14.12.in-addr.arpa

The zone they delegate is the key to your named.conf setting.
Following the example above the named.conf entry would look
like

zone "16/28.48.14.12.in-addr.arpa" {
	type master;
	file "db.16-28.48.14.12.in-addr.arpa";
}

The reverse zone itself looks normal as long as you use the @ shortcut.

This is for a /28 from 161 to 174

$TTL    86400
@ IN SOA ns.example.com. root.ns.example.com.  (
        2000101002 ; Serial
        28800      ; Refresh
        14400      ; Retry
        3600000    ; Expire
        86400 )    ; Minimum
        IN  NS  ns.example.com.
        IN  NS  ns2.isp.net.
        IN  NS  ns3.isp.net.

161 IN  PTR host161.example.com.
162 IN  PTR host162.example.com.
163 IN  PTR host163.example.com.
164 IN  PTR host164.example.com.
165 IN  PTR host165.example.com.
...
174 IN  PTR host174.example.com.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1001011182853.147D-100000>