DNS: by name YES; by ip NO *&%&&$^##^

DNS: by name YES; by ip NO *&%&&$^##^

Post by John R. Caru » Thu, 10 Nov 1994 21:29:39



I am running a primary name server and have one secondary. The primary
and secondary are on different networks. I want to use the secondary
as the source for lookups for hosts located on the secondary network.
This is what I have so far:  

        (for discussion purposes)
                primary =   pri.com 123.45.67.899
                secondary = sec.pri.com  
                secondary's nameserver = ns.sec.pri.com 362.999.999.888

   In NAMED.BOOT on primary:
           .
           .
           primary      888.999.999.362.in-addr.arpa    db.362.999.999
           .
           .
   In DB.PRI
        .
        .
        .
        sec             IN      NS      ns.sec.pri.com.
        ns.sec.pri.com. IN      A       362.999.999.888
        .
        .
        .

   In DB.362.999.999

        999.999.362.IN-ADDR.ARPA     IN         NS      ns.sec.pri.com.
        888.999.999.362.IN-ADDR.ARPA  IN        PTR     ns.sec.pri.com.

nslookup for any host by name on 362.999.999 works but lookup by the
equivalent ip address fails. nslookup with debug on shows that
ns.sec.pri.com is being queried for name lookup but SERVFAIL comes back
for ip address lookups. Why can't I get both? An additional factor:
pri.com is on the public side of a firewall and ns.sec.pri.com is on the
private side but it seems that if that were pertinent, name lookups would
fail also.

My head has several flat areas on it from banging it up against the nic and
my internet provider since the beginning of October. If you can make it
round, or nearly so, I would be most appreciative. Thanks in advance.

Regards....John

 
 
 

DNS: by name YES; by ip NO *&%&&$^##^

Post by Scott MacFigg » Thu, 01 Dec 1994 05:27:51




>for ip address lookups. Why can't I get both? An additional factor:
>pri.com is on the public side of a firewall and ns.sec.pri.com is on the
>private side but it seems that if that were pertinent, name lookups would
>fail also.



Looks like you forgot to set up the reverse name lookup maps.
I can't remember the details off the top of my head but if you
need to know more, feel free to mail me.

+----------------------------------------------------------------------------+
+                         Scott MacFiggen                                    +
+                            88 VTR250                                       +
+      TCS Systems Administrator  (Po / Danube / Parker / Pasteur / Ara)     +
+                          CSUA Vice-President                               +

+----------------------------------------------------------------------------+