Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 1999 22:52:55 -0500
From:      Andrew <andrew@pubnix.net>
To:        Bret Ford <bford@tiger.cc.uop.edu>, freebsd-isp@freebsd.org
Subject:   Re: Struggling to get in-addr.arpa working
Message-ID:  <38449B97.CAFA99DC@pubnix.net>
References:  <Pine.GSO.4.20.9911301913540.23060-100000@tiger.cc.uop.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
One tiny detail, you can't delegate a subnet of a class C.  The smallest thing that
is delegable ends in .0

You COULD (big hack) try and setup individual reverse zone files for EACH address,
i.e. 9.57.102.216.in-addr.arpa, 10.57.102.216.in-addr.arpa, etc and put each name in
there.

For example:

rev.216.102.57.9
----------------------------------------
@                               IN SOA dante.plover.org. bford.dante.plover.org. (
                                1999113010      ; Serial
                                10800           ; Refresh after 3 hours
                                3600            ; Retry after 1 hour
                                604800          ; Expire after 1 week
                                7200 )          ; Default TTL of 2 hours

                                           NS   dante.plover.org.

9.57.102.216.in-addr.arpa.      3600    IN PTR  gateway.plover.org.


rev.216.102.57.10
----------------------------------------
@                               IN SOA dante.plover.org. bford.dante.plover.org. (
                                1999113010      ; Serial
                                10800           ; Refresh after 3 hours
                                3600            ; Retry after 1 hour
                                604800          ; Expire after 1 week
                                7200 )          ; Default TTL of 2 hours

                                           NS   dante.plover.org.

10.57.102.216.in-addr.arpa.     3600    IN PTR  heather.plover.org.

and in your named.conf, you'd put...
zone "9.57.105.216.in-addr.arpa" {
        type master;
        file "namedb/rev.216.105.57.9";
};
zone "10.57.105.216.in-addr.arpa" {
        type master;
        file "namedb/rev.216.105.57.10";
};

etc...



Bret Ford wrote:

> My ISP, at my request, delegated to me the responsibility for
> address -> name mapping in my domain.  I have a DSL connection with 6 IPs
> (including the gateway).  I am having no end of problems getting it to
> work. I've gotten it completely screwed up.  If there is anyone out there
> who has a moment to straighten out my named.conf and zone file mess, I'd
> really really appreciate it.  I've pored over RFC2317 several times, and
> am none the wiser for it.  Whatever technical facility I thought I had has
> been blown far far away from me, and may be lost for good.  I've fiddled
> with this for hours.  I'm frustrated.  I don't even want to think about it
> anymore.  If someone could just send me back the corrected files, I'd be
> (very)*(grateful)^1000.  I've obviously gotten in over my head
> technically.
>
> My addresses are 216.102.57.9-14
>
> Using 'dig @ns1.pbi.net -a 9.57.102.216.in-addr.arpa' and so on, I
> figured out how PacBell Internet has done the delegation:
>
>  9.57.102.216.in-addr.arpa.  2H IN CNAME   9.8.57.105.216.in-addr.arpa.
> 10.57.102.216.in-addr.arpa.  2H IN CNAME  10.8.57.105.216.in-addr.arpa.
> 11.57.102.216.in-addr.arpa.  2H IN CNAME  11.8.57.105.216.in-addr.arpa.
> 12.57.102.216.in-addr.arpa.  2H IN CNAME  12.8.57.105.216.in-addr.arpa.
> 13.57.102.216.in-addr.arpa.  2H IN CNAME  13.8.57.105.216.in-addr.arpa.
> 14.57.102.216.in-addr.arpa.  2H IN CNAME  14.8.57.105.216.in-addr.arpa.
>
> ...which goes from one Class B network to another.  (I don't know if
> that's at all relevant to my problem, but... there it is anyway.  At
> least I still know what a Class B network is (I think... ) )
>
> Anyway, here is the most recent edition of my DNS configuration.  Please
> please please help!!!!!!!  Thank you!!!!!!!
>
> ----------------------------------------
> named.conf
> ----------------------------------------
>
> options {
>         directory "/var/named";
> };
>
> zone "plover.org" {
>         type master;
>         file "namedb/db.plover";
> };
>
> zone "8.57.105.216.in-addr.arpa" {
>         type master;
>         file "namedb/db.reverse";
> };
>
> zone "0.0.127.in-addr.arpa" {
>         type master;
>         file "namedb/db.127.0.0";
> };
>
> zone "." {
>         type hint;
>         file "namedb/db.cache";
> };
> ----------------------------------------
> db.plover
> ----------------------------------------
> plover.org. IN SOA dante.plover.org. bford.dante.plover.org. (
>                         1999113009      ; Serial
>                         10800           ; Refresh after 3 hours
>                         3600            ; Retry after 1 hour
>                         604800          ; Expire after 1 week
>                         7200 )          ; Default TTL of 2 hours
>
> plover.org. IN NS                        dante.plover.org.
> plover.org. IN NS                        ns1.pbi.net.
>
> localhost.plover.org.   3600    IN A                    127.0.0.1
> gateway.plover.org.     3600    IN A                 216.102.57.9
> heather.plover.org.     3600    IN A                 216.102.57.10
> thorin.plover.org.      3600    IN A                 216.102.57.11
> advent.plover.org.      3600    IN A                 216.102.57.12
> dante.plover.org.       3600    IN A                 216.102.57.13
> plover.org.             IN MX 10         dante.plover.org.
> advent.plover.org.      IN MX 10         dante.plover.org.
> daman.plover.org.       3600    IN A                 216.102.57.14
>
> www                     IN CNAME        advent.plover.org.
> ftp.plover.org.         IN CNAME        advent.plover.org.
> ----------------------------------------
> db.reverse
> ----------------------------------------
> @                               IN SOA dante.plover.org. bford.dante.plover.org. (
>                                 1999113010      ; Serial
>                                 10800           ; Refresh after 3 hours
>                                 3600            ; Retry after 1 hour
>                                 604800          ; Expire after 1 week
>                                 7200 )          ; Default TTL of 2 hours
>
>                                            NS   dante.plover.org.
>
> 9.57.102.216.in-addr.arpa.      3600    IN PTR  gateway.plover.org.
> 10.57.102.216.in-addr.arpa.     3600    IN PTR  heather.plover.org.
> 11.57.102.216.in-addr.arpa.     3600    IN PTR  thorin.plover.org.
> 12.57.102.216.in-addr.arpa.     3600    IN PTR  advent.plover.org.
> 13.8.57.105.216.in-addr.arpa.   3600    IN PTR  13.57.102.216.in-addr.arpa.
> 13.57.102.216.in-addr.arpa.     3600    IN PTR  dante.plover.org.
> 14.57.102.216.in-addr.arpa.     3600    IN PTR  daman.plover.org.
> ----------------------------------------
> The End
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38449B97.CAFA99DC>