delegation troubles!

Barry Margolin barmar at alum.mit.edu
Tue Dec 13 04:51:53 UTC 2005


In article <dnk0e7$31d2$1 at sf1.isc.org>,
 Alexander Varga <vargalexb at yahoo.com> wrote:

> Hello
> 
> I have troubles forwarding resolve requests in my internal network to the 
> authoritative DNS
> server. I am running bind-9.2.2 on Solaris9 OS, and what i need:
> - I, "myns1", am a slave server for a zone "test.com" located on remote 
> "ns1". In that zone are
> some A, CNAME records as obvious, and are also subzones defined, pointing to 
> different nameservers

I'm confused by your examples below.  You say "test.com" here, but the 
zone files are for "tst.com".  Maybe you wouldn't screw up so much if 
you posted the *real* zone files instead of trying to obscure them.

> 
> ########################################################
> "test,com":
> $ORIGIN test.com.
> subzone1                NS      ns2
>                         NS      ns3
>                         NS      ns4
> subzone2                NS      ns2
> subzone3                NS      ns2
> #########################################################
> 
> - i download the zone file, but my DNS is not able to forward requests to the 
> appropriate NS (ns2,
> ns3, ns4)
> 
> i tryed to test the delegation by defining own zones, but with no good 
> result.  is there something
> I forgot?
> #######
> #DNS1:#
> #######
> $ORIGIN .
> $TTL 86400      ; 1 day
> testnasa.tst.com                IN SOA  ns1.test.com. root.test.com. (
>                                 2005011701  ; serial
>                                 10800      ; refresh (3 hours)
>                                 3600       ; retry (1 hour)
>                                 604800     ; expire (1 week)
>                                 86400      ; minimum (1 day)
>                                 )
>                         NS      myns1.test.com.
>                         NS      myns2.test.com.
> $ORIGIN testnasa.tst.com.
> test                    A       10.5.1.93
> $ORIGIN tmp.testnasa.tst.com.
>                 IN      NS      myns2.test.com.
> test1                   A       10.5.1.95
> #############################################################################
> 
> #######
> #DNS2:#
> #######
> $ORIGIN .
> $TTL 86400      ; 1 day
> tmp.testnasa.tst.com            IN SOA  ns2.test.com. root.test.com. (
>                                 2005011701 ; serial
>                                 10800      ; refresh (3 hours)
>                                 3600       ; retry (1 hour)
>                                 604800     ; expire (1 week)
>                                 86400      ; minimum (1 day)
>                                 )
>                         NS      myns1.test.com.
>                         NS      myns2.test.com.
> $ORIGIN tmp.testnasa.tst.com.
> test            A       10.5.1.94
> ##############################################################################
> > set q=ns
> > test.testnasa.tst.com.
> Server:  myns1.test.com
> Address:  10.110.15.206
> 
> *** myns1.test.com can't find test.testnasa.tst.com.: Non-existent domain

Don't use nslookup for troubleshooting, use dig.  nslookup gives the 
same "non-existent domain" error for both a missing name and when the 
name exists but doesn't have the record type you requested.  In this 
case, test.testnasa.tst.com exists, but only has an A record, not NS 
record.

> ##############################################################################
> #
> > set q=ns
> > tmp.testnasa.tst.com.
> Server:  myns2.test.com
> Address:  10.110.15.207
> 
> tmp.testnasa.tst.com    nameserver = myns2.test.com
> myns2.test.com internet address = 10.110.15.207
> ##############################################################################
> ##
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list