about AUTHORITY SECTION
Mark Andrews
marka at isc.org
Fri Mar 4 13:34:23 UTC 2011
In message <AANLkTi=9B07Q=FLysN6s-0scOSsNeuxMS0qgY9h+OKM5 at 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 at 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: marka at isc.org
More information about the bind-users
mailing list