Internet Direct (Indy)
Home
PreviousUpNext
TDNSHeader.QDCount Property

Number of Questions in the DNS message packet.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.