Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does QD stand for in DNS RFC1035

I was just curious about the nomenclature of certain variables part of DNS's RFC: https://www.ietf.org/rfc/rfc1035.txt

While I was able to find most other acronyms :

  • AN in ANCOUNT seems stands for Answer
  • NS in NSCOUNT stands for Name Server
  • AR in ARCOUNT stands for Additional Record

I was wondering what does "QD" stand for in the "QDCOUNT"?

like image 200
Nicolas Bouvrette Avatar asked Aug 16 '15 02:08

Nicolas Bouvrette


People also ask

What are DNS classes?

The Dns class is a static class that retrieves information about a specific host from the Internet Domain Name System (DNS). The host information from the DNS query is returned in an instance of the IPHostEntry class.

What is DNS header?

DNS message formatA header field (flags) controls the content of these four sections. The header section consists of the following fields: Identification, Flags, Number of questions, Number of answers, Number of authority resource records (RRs), and Number of additional RRs.

How long is a DNS query header?

The header is exactly 12 bytes long and is exactly the same for a DNS query or DNS response.


1 Answers

it wasn't an acronym. QDCOUNT just means what it's defined to mean. FWIW, i always think of it as Query Domain Count, because the query section has no RDATA's in it unlike the other sections, each query has just a Name, Class, and Type.

note that this field is useless now, because BIND has always rejected QDCOUNT != 1. there is no way to ask more than one question per transaction, and it's not an oversight, rather it's because there is only one AA bit to describe the entire answer section.

like image 82
Paul Vixie Avatar answered Oct 09 '22 22:10

Paul Vixie