Partager via


DNS_SOA_DATA

A version of this page is also available for

Windows Embedded CE 6.0 R3

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_RECORD structure 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