Share via


DNS_HEADER (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

Header windns.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

DNS Structures