DNS_OPT_DATA structure (windns.h)
The DNS_OPT_DATA structure represents a DNS Option (OPT) resource record (RR) as specified in section 4 of RFC 2671.
Syntax
typedef struct {
WORD wDataLength;
WORD wPad;
#if ...
BYTE Data[];
#else
BYTE Data[1];
#endif
} 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.
Data[1]
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
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | windns.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for