DNS_ADDR structure

A DNS_ADDR structure stores an IPv4 or IPv6 address.

Syntax


typedef struct _Dns_Addr {
  CHAR  MaxSa[DNS_ADDR_MAX_SOCKADDR_LENGTH];
  DWORD DnsAddrUserDword[8];
} DNS_ADDR, *PDNS_ADDR;

Members

MaxSa

A value that contains the socket IP address. It is a sockaddr_in structure if the address is IPv4 and a sockaddr_in6 structure if the address is IPv6.

DnsAddrUserDword

Reserved. Must be 0.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Windns.h

See also

DNS_ADDR_ARRAY
DNS_QUERY_RESULT

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.