Topic Path: Symbol Reference > Classes > TDNSHeader Class > TDNSHeader Properties > QDCount Property
ContentsIndexHome
PreviousUpNext
TDNSHeader.QDCount Property

Number of Questions in the DNS message packet.

property QDCount: Word;

QDCount is a Word property that indicates the number of entries in the Question section of a DNS message packet. QDCount is calculated and included in the DNS query when the query is constructed after a call to TIdDNSResolver.Resolve. QDCount will indicate the numer of values assigned to TIdDNSResolver.QueryRecords. 

QDCount is returned in the DNS response to indicate the number of Questions handled by the DNS server. 

Use ANCount to determine the number of resource records returned in the Answer section of the DNS response. 

Use NSCount to determine the number of name server resource records returned in the Authoruty section of the DNS response. 

Use ARCount to determine the number of resource records returned in the Additional section of the DNS response.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.