Authoritative Answer bit, SOA and NS
secastro at nic.cl
Fri Feb 8 17:00:27 UTC 2002
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?
I know is posible to do it using a perl module called Net::DNS, but I
haven't tried with dig.
Sorry for bothering.
Sebastian E. Castro Avila sebastian at nic.cl
Administrador de DNS, NIC Chile
Agustinas 1357 Piso 4
Santiago, Chile Cod. Postal 6500587
Phone: +56-2-9407705 Fax : +56-2-9407701
More information about the bind-users