A question, is this appropriate for IP's in the private IP ranges?

Regards, Andy (www.linuxrx.com)

From:                   Glynn Clements <[EMAIL PROTECTED]>

Robert G. Fisher wrote:

> Does anyone know how I could delegate a subnet for DNS lookups?
> 
> I know I can do something along the lines of 
> 
> 24.3.168.192-IN-ADDR-ARPA     IN      NS      other-ns.domain.com
> 
> or something along those lines ;-)
> 
> But, curious how to do something for like the 192.168.3.24/28 network?

The following is from the BIND FAQ:

        Question 5.4.  Subnetted domain name service
        
        Date: Mon Aug  5 23:00:16 EDT 1996
        
        If you are looking for some examples of handling subnetted class C
        networks as separate DNS domains, see the Internet Draft
        
        draft-ietf-cidrd-classless-inaddr-02.txt
        
        for more information.   This file is available for anonymous ftp at
        
        ds.internic.net :
        /internet-drafts/draft-ietf-cidrd-classless-inaddr-02.txt
        
        or other IETF mirror sites (ftp.is.ca.za [Africa], nic.nordu.net [Europe],
        munnari.oz.au [Pacific Rim], ds.internic.net [US East Coast], or
        ftp.isi.edu [US West Coast]).
        
        Details follow- You need to delegate down to the fourth octet, so you will
        have one domain per IP address !  Here is how you can subdelegate a
        in-addr.arpa address for non-byte aligned subnet masks:
        
        Take as an example the net 192.1.1.x, and example subnet mask
        255.255.255.240.
        
        We first define the domain for the class C net,
        
           $origin  1.1.192.in-addr.arpa
           @       SOA   (usual stuff)
           @       ns  some.nameserver
                   ns  some.other.nameserver
           ; delegate a subdomain
           one     ns  one.nameserver
                   ns  some.nameserver
           ; delegate another
           two     ns  two.nameserver
                   ns  some.nameserver
           ; CNAME pointers to subdomain one
           0       CNAME 0.one
           1       CNAME 1.one
           ;    through
           15      CNAME 15.one
           ; CNAME pointers to subdomain two
           16      CNAME 16.two
           17      CNAME 17.two
           31      CNAME 31.two
           ; CNAME as many as required.
        
        Now, in the delegated nameserver, one.nameserver
        
           $origin one.1.1.192.in-addr.arpa
           @       SOA (usual stuff)
                   NS  one.nameserver
                   NS  some.nameserver   ;  secondary for us
           0       PTR  onenet.one.domain
           1       PTR  onehost.one.domain
           ;   through
           15      PTR  lasthost.one.domain
        
        And similar for the two.1.1.192.in-addr.arpa delegated domain.
        
        There is additional documentation and a perl script that may be used for
        this purpose available for anonymous ftp from:
        
        ftp.vix.com : /pub/bind/contrib/gencidrzone

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to