In message <AANLkTi=9B07Q=flysn6s-0scossneuxms0qgy9h+o...@mail.gmail.com>, terr
y writes:
> Hello,
> 
> When I delegate a subdomain in a zone example.com, the config in
> named.conf is like:
> 
> test.example.com.  3600  IN NS  ns1.another.com.
> test.example.com.  3600  IN NS  ns2.another.com.
> 
> Then I dig to the auth-server of the example zone:
> 
> dig test.example.com ns @ns1.example.com
> 
> I found some servers return the ANSWER SECTION, but some servers
> return the AUTHORITY SECTION.
> 
> For example:
> 
> ;; ANSWER SECTION:
> test.example.com.       3600    IN      NS      ns2.another.com.
> test.example.com.       3600    IN      NS      ns1.another.com.
> 
> And:
> 
> ;; AUTHORITY SECTION:
> test.example.com.       3600    IN      NS      ns2.another.com.
> test.example.com.       3600    IN      NS      ns1.another.com.
> 
> 
> I'm confused, shall name server answer with ANSWER or AUTHORITY for this case
> ?

Look at RA and RD.  If the server recurses, you will get a answer.
If the server does not recurse, you will get a referral.  Then there
are the really old broken servers which get this wrong.

Mark

> Thanks in advance.
> _______________________________________________
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: ma...@isc.org
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to