다음을 통해 공유


DNS_HEADER (Windows CE 5.0)

Send Feedback

This structure contains DNS header information used when sending DNS messages.

typedef struct _DNS_HEADER {WORD Xid;BYTE RecursionDesired;BYTE Truncation;BYTE Authoritative;BYTE Opcode;BYTE IsResponse;BYTE ResponseCode;BYTE Reserved;BYTE RecursionAvailable;WORD QuestionCount;WORD AnswerCount;WORD NameServerCount;WORD AdditionalCount;} DNS_HEADER, *PDNS_HEADER;

Members

  • Xid
    [in] DNS message header identifier.
  • RecursionDesired
    [in] Specifies whether recursion is desired on the DNS message.
  • Truncation
    [in] Specifies whether truncation has been applied to the DNS message.
  • Authoritative
    [in] Specifies whether the node from which the DNS Message is being sent is authoritative for the zone.
  • Opcode
    [in] Specifies the operation code to be taken on the DNS message.
  • IsResponse
    [in] Specifies whether the DNS message is a query response message.
  • ResponseCode
    [in] Response code of the DNS message.
  • Reserved
    [in] Reserved. Do not use.
  • RecursionAvailable
    [in] Specifies whether recursion is available on the DNS query.
  • QuestionCount
    [in] Number of queries contained in the DNS message.
  • AnswerCount
    [in] Number of answers contained in the DNS message.
  • NameServerCount
    [in] Number of DNS Name Servers the message has traversed in its search for resolution.
  • AdditionalCount
    [in] Reserved. Do not use.

Remarks

None.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Windns.h.

See Also

DNS Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.