简体   繁体   中英

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 An swer
  • NS in NSCOUNT stands for N ame S erver
  • AR in ARCOUNT stands for A dditional R ecord

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

Based on https://tools.ietf.org/html/rfc2929 I believe it likely stands for Query Data, but I don't believe that you will get an official answer outside of asking the people who designed DNS.

The unsigned fields query count (QDCOUNT), answer count (ANCOUNT),
   authority count (NSCOUNT), and additional information count (ARCOUNT)
   express the number of records in each section for all opcodes except
   Update.  These fields have the same structure and data type for
   Update but are instead the counts for the zone (ZOCOUNT),
   prerequisite (PRCOUNT), update (UPCOUNT), and additional information
   (ARCOUNT) sections. 

Other references: 1 , 2

We could also just go with DNSRR iteration that says it means Query DNS Count. :)

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.

我认为,“规则”可以设计寻求有关问题部分格式在4.1.2节的解释,QD应该被解释为Q题目了d efinition或更好的Q uery d efinition,因为每个包含的元素被称为是一个问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM