DNS_NSEC_DATAW structure (windns.h)

The DNS_NSEC_DATA structure represents an NSEC resource record (RR) as specified in section 4 of RFC 4034.

Syntax

typedef struct {
  PWSTR pNextDomainName;
  WORD  wTypeBitMapsLength;
  WORD  wPad;
#if ...
  BYTE  TypeBitMaps[];
#else
  BYTE  TypeBitMaps[1];
#endif
} DNS_NSEC_DATAW, *PDNS_NSEC_DATAW;

Members

pNextDomainName

A pointer to a string that represents the authoritative owner name of the next domain in the canonical ordering of the zone as specified in section 4.1.1 of RFC 4034.

wTypeBitMapsLength

The length, in bytes, of TypeBitMaps.

wPad

Reserved. Do not use.

TypeBitMaps

A BYTE array that contains a bitmap that specifies which RR types are supported by the NSEC RR owner. Each bit in the array corresponds to a DNS Record Type as defined in section in section 4.1.2 of RFC 4034.

TypeBitMaps[1]

A BYTE array that contains a bitmap that specifies which RR types are supported by the NSEC RR owner. Each bit in the array corresponds to a DNS Record Type as defined in section in section 4.1.2 of RFC 4034.

Remarks

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

Note

The windns.h header defines DNS_NSEC_DATA as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

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

DNS Structures

DNS_RECORD