Reverse Zone - BIND 8 - Classless Subnet - HELP!

James Mayes james.mayes at enform.com
Thu Sep 23 21:14:37 UTC 1999


I have a domain (classless - mydomain.com) that is serviced via
Southwestern Bell (swbell.net).  It is a 5 useable IP ADSL setup.  I
have two linux boxes running bind 8.  My ISP has stated that they have
delegated in-addr duties as per the classless subnet RFC 2317.  I seem
to be having some problems verifying that it works!  (read:  I know
just enough to be dangerous).

here's my domain setup
==================================================
xxx.xxx.xxx.144 (network)
xxx.xxx.xxx.145 mojo.mydomain.com
xxx.xxx.xxx.146 mystic.mydomain.com
xxx.xxx.xxx.147 hex.mydomain.com
xxx.xxx.xxx.148 voodoo.mydomain.com
xxx.xxx.xxx.149 magic.mydomain.com
xxx.xxx.xxx.150 (gateway)

My primary NS is mystic
My secondary NS is voodoo


here is my /etc/named.conf:
==================================================
options {
        directory "/var/named";
};

zone "." {
        type hint;
        file "root.hints";
};

zone "0.0.127.in-addr.arpa" {
        type master;
        file "pz/127.0.0";
};

zone "mydomain.com" {
        type master;
        file "pz/mydomain.com";
};

zone "144.xxx.xxx.xxx.in-addr.arpa" {
        type master;
        file "pz/144.xxx.xxx.xxx";
};

here is pz/144.xxx.xxx.xxx
==================================================
@                       IN      SOA     mystic.mydomain.com.
root.mydomain.com. (
                                        1       ; Serial
                                        8H      ; Refresh
                                        2H      ; Retry
                                        1W      ; Expire
                                        1D)     ; Minimum TTL
                                NS      ns1.swbell.net.
                                NS      ns2.swbell.net.
                                NS      mystic.mydomain.com.
                                NS      voodoo.mydomain.com.
                145     IN      PTR     mojo.mydomain.com.
                146     IN      PTR     mystic.mydomain.com.
                147     IN      PTR     hex.mydomain.com.
                148     IN      PTR     voodoo.mydomain.com.
                149     IN      PTR     magic.mydomain.com.
                150     IN      PTR     gw.mydomain.com.



=================================================
I've been talking the the dns admin who seems to think that it is
because I'm using "@" instead of $ORIGIN 144.xxx.xxx.xxx.in-addr.arpa.

I think it's because I am completely screwing something up!

Regards,
James


More information about the bind-users mailing list