DNS_OPT_DATA structure

The DNS_OPT_DATA structure represents a DNS Option (OPT) resource record (RR) as specified in section 4 of RFC 2671.

Syntax


typedef struct _DNS_OPT_DATA {
  WORD wDataLength;
  WORD wPad;
  BYTE Data[1];
} DNS_OPT_DATA, *PDNS_OPT_DATA;

Members

wDataLength

The length, in bytes, of Data.

wPad

Reserved. Do not use.

Data

A BYTE array that contains variable transport level information as specified in section 4 of RFC 2671.

Remarks

The DNS_OPT_DATA structure is used in conjunction with the DNS_RECORD structure to programmatically manage DNS entries.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Windns.h

See also

DNS Structures
DNS_RECORD

 

 

Community Additions

ADD
Show:
© 2014 Microsoft