共用方式為


2.2.5.2.4.2 DNS_RPC_ZONE_INFO_DOTNET

In the DNS_RPC_ZONE_INFO_DOTNET structure all fields have same definition as specified in section DNS_RPC_ZONE_INFO_W2K (section 2.2.5.2.4.1), with the following exceptions:

 typedef struct _DnsRpcZoneInfoDotNet {
   DWORD dwRpcStructureVersion;
   DWORD dwReserved0;
   [string] char* pszZoneName;
   DWORD dwZoneType;
   DWORD fReverse;
   DWORD fAllowUpdate;
   DWORD fPaused;
   DWORD fShutdown;
   DWORD fAutoCreated;
   DWORD fUseDatabase;
   [string] char* pszDataFile;
   PIP4_ARRAY aipMasters;
   DWORD fSecureSecondaries;
   DWORD fNotifyLevel;
   PIP4_ARRAY aipSecondaries;
   PIP4_ARRAY aipNotify;
   DWORD fUseWins;
   DWORD fUseNbstat;
   DWORD fAging;
   DWORD dwNoRefreshInterval;
   DWORD dwRefreshInterval;
   DWORD dwAvailForScavengeTime;
   PIP4_ARRAY aipScavengeServers;
   DWORD dwForwarderTimeout;
   DWORD fForwarderSlave;
   PIP4_ARRAY aipLocalMasters;
   DWORD dwDpFlags;
   [string] char* pszDpFqdn;
   [string] wchar_t* pwszZoneDn;
   DWORD dwLastSuccessfulSoaCheck;
   DWORD dwLastSuccessfulXfr;
   DWORD dwReserved1;
   DWORD dwReserved2;
   DWORD dwReserved3;
   DWORD dwReserved4;
   DWORD dwReserved5;
   [string] char* pReserved1;
   [string] char* pReserved2;
   [string] char* pReserved3;
   [string] char* pReserved4;
 } DNS_RPC_ZONE_INFO_DOTNET,
  *PDNS_RPC_ZONE_INFO_DOTNET;

dwRpcStructureVersion: The DNS server management structure version number. This value SHOULD<42> be set to 0x00000001.

dwReserved0: Reserved for future use. Server will set to zero and receiver MUST ignore this value.

dwForwarderTimeout (4 bytes): The forwarder timeout value for a zone, in seconds. This is the number of seconds the DNS server waits for response from a remote DNS server for a forwarded query. This value is applicable for zones of type DNS_ZONE_TYPE_FORWARDER (section 2.2.5.1.1). For all other zone types, senders MUST set this value to zero and receivers MUST ignore it.

fForwarderSlave: A Boolean value indicating whether the DNS server is not allowed to perform recursion while resolving names for this zone. The DNS server MUST fail queries after getting failure from all forwarded servers, if the value is TRUE (0x00000001). Otherwise normal recursion MUST be performed. This value is applicable for zones of type DNS_ZONE_TYPE_FORWARDER (section 2.2.5.1.1). For all other zone types, senders MUST set this value to zero and receivers MUST ignore it.

aipLocalMasters: A pointer to a structure of type IP4_ARRAY (section 2.2.3.2.1) that specifies a list of IPv4 addresses of  primary DNS servers for this zone. If this value is not NULL then it overrides the master servers list configured in the directory server.

dwDpFlags: Flag value that specifies information about the application directory partition in which this zone is stored. This MUST be set to any combination of the DNS_RPC_DP_FLAGS (section 2.2.7.1.1) or zero if this zone is not stored in a directory server.

pszDpFqdn: A pointer to a null-terminated UTF-8 string that specifies the FQDN of the application directory partition in which this zone is stored. If the zone is not stored in an application directory partition this value MUST be NULL.

pwszZoneDn: Pointer to a null-terminated Unicode string that specifies the distinguished name for the zone if the zone is stored the directory server. This field is applicable for directory server integrated zones only. The value MUST be NULL if this zone is not stored in the directory server.

dwLastSuccessfulSoaCheck: The time-stamp at which last SOA record was received successfully from the primary DNS server for this zone. This field is applicable only for zones which are secondary or non-authoritative. For all other zones this value MUST be set to zero by senders and MUST be ignored by receivers.

dwLastSuccessfulXfr: The time-stamp at which last zone transfer was completed successfully from the primary DNS server for this zone. This field is applicable only for zones which are secondary or non-authoritative. For all other zones this value MUST be set to zero by senders and MUST be ignored by receivers.

dwReserved1: Reserved for future use. Server MUST set to zero and receiver MUST ignore this value.

dwReserved2: Reserved for future use. Server MUST set to zero and receiver MUST ignore this value.

dwReserved3: Reserved for future use. Server MUST set to zero and receiver MUST ignore this value.

dwReserved4: Reserved for future use. Server MUST set to zero and receiver MUST ignore this value.

dwReserved5: Reserved for future use. Server MUST set to zero and receiver MUST ignore this value.

pReserved1: Reserved for future use. Server MUST set to zero and receiver MUST ignore this value.

pReserved2: Reserved for future use. Server MUST set to zero and receiver MUST ignore this value.

pReserved3: Reserved for future use. Server MUST set to zero and receiver MUST ignore this value.

pReserved4: Reserved for future use. Server MUST set to zero and receiver MUST ignore this value.