Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure represents a DNS start of authority (SOA) record.

Syntax

typedef struct {
  LPTSTR 
pNamePrimaryServer;
  LPTSTR 
pNameAdministrator;
  DWORD 
dwSerialNo;
  DWORD 
dwRefresh;
  DWORD 
dwRetry;
  DWORD 
dwExpire;
  DWORD 
dwDefaultTtl;
} DNS_SOA_DATA, *PDNS_SOA_DATA;

Members

pNamePrimaryServer

[in] Pointer to a string representing the name of the authoritative DNS server for the zone to which the record belongs.

pNameAdministrator

[in] Pointer to a string representing the name of the responsible party for the zone to which the record belongs.

dwSerialNo

[in] Serial number of the SOA record.

dwRefresh

[in] Time, in seconds, before the zone containing this record should be refreshed.

dwRetry

[in] Time, in seconds, before retrying a failed refresh of the zone to which this record belongs

dwExpire

[in] Time, in seconds, before an unresponsive zone is no longer authoritative.

dwDefaultTtl

[in] Lower limit on the time, in seconds, that a DNS server or caching resolver are allowed to cache any RRs from the zone to which this record belongs.

Remarks

This structure is used in conjunction with the DNS_RECORDstructure to programmatically manage DNS entries.

Requirements

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

See Also

Reference

DNS Structures