Authoritative Answer bit, SOA and NS

Barry Margolin barmar at genuity.net
Fri Feb 8 17:10:32 UTC 2002


In article <a410hk$9nt at pub3.rc.vix.com>,
Sebastian Castro  <secastro at nic.cl> wrote:
>
>On Fri, Feb 08, 2002 at 03:57:35PM +0000, Barry Margolin wrote:
>> In article <a40s7d$91t at pub3.rc.vix.com>,
>
>> >;; flags: qr aa rd; QUERY: 1, ANSWER: 12, AUTHORITY: 0, ADDITIONAL: 9
>> >                                         ^^^^^^^^^^^^^^
>> >
>> >Authority is zero, why?
>> 
>> That's not the Authoritative Answer bit, that's the number of records in
>> the Authority Section of the response.  And as you can see, there's nothing
>> in that section -- all the NS records are in the Answer Section.
>> 
>> >---> Here Authority is non zero, why the difference?
>> 
>> This time, you didn't ask for NS records, so they were put in the Authority
>> Section of the response rather than the Answer Section.  There are 12 NS
>> records listed there, aren't there?
>> 
>
>Yes, they are. Thanks for the clarification.
>
>Is it possible to "view" if the AA bit is set using dig?

Yes.

             vv
;; flags: qr aa rd
             ^^

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list