• RCODE, the last field in the first long-word is used for response codes with
the following meanings:
• 0 = No error
• 1 = Format error
• 2 = Server error
• 3 = Name error
• 4 = Not used
• 5 = Refused
• Four COUNT fields indicate the length of the fields to follow:
• QDCOUNT gives the number of question entries
• ANCOUNT gives the number of resource records in the answer
section
• NSCOUNT refers to the number of name server resource records in
the Authority section
• ARCOUNT refers to the number of resource records in the additional
records section
• Question section
Contains queries in the format shown below. A query consists of a query
domain name field containing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.