Internet Direct (Indy)
Home
PreviousUpNext
TDNSHeader.Qr Property

Indicates if the DNS message packet contains a query or a response.

Pascal
property Qr: Word;

Qr is a Word property that specifies if the contents of the DNS message packet contains a DNS query or DNS a response. Qr will contain the value 0 when the message is a query, and the value 1 when the message is a response. 

Qr is represented in a DNS header as a bit field. Changing the value of Qr ensures that the appropriate bit field is updated in the DNS header for the message packet.

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.