Question about authoritative server and AA Authoritative Answer

Björn Persson Bjorn at xn--rombobjrn-67a.se
Wed Jan 17 15:08:01 UTC 2024


Michel Diemer via bind-users wrote:
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

This response message has the QR flag, the AA flag and the RD flag
turned on. The message contains 1 copy of the query, 0 answers to the
query, 1 reference to an authoritative nameserver (probably a SOA
record), and 1 additional record (the OPT pseudorecord).

> ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

This response message has the QR flag, the AA flag and the RD flag
turned on. The message contains 1 copy of the query, 1 answer to the
query, 0 references to authoritative nameservers, and 1 additional
record (the OPT pseudorecord).

> Why AUTHORITY: 0 and not AUTHORITY: 1 ???

Because there are no NS or SOA records attached to the answer. The
server provided the answer to your query, so it didn't need to refer
you to other nameservers that might know the answer.

Björn Persson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signatur
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20240117/b10e8528/attachment.sig>


More information about the bind-users mailing list