DNS_WIRE_QUESTION structure (windns.h)

The DNS_WIRE_QUESTION structure contains information about a DNS question transmitted across the network as specified in section 4.1.2 of RFC 1035..

Syntax

typedef struct _DNS_WIRE_QUESTION {
  WORD QuestionType;
  WORD QuestionClass;
} DNS_WIRE_QUESTION, *PDNS_WIRE_QUESTION;

Members

QuestionType

A value that represents the question section's DNS Question Type.

QuestionClass

A value that represents the question section's DNS Question Class.

Remarks

When constructing a DNS message, the question name must precede the DNS_WIRE_QUESTION structure.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header windns.h

See also

DNS_WIRE_RECORD