2.2.5.2.1.2 DNS_RPC_ZONE_DOTNET

In the DNS_RPC_ZONE_DOTNET structure all fields have same definition as specified in section DNS_RPC_ZONE_W2K (section 2.2.5.2.1.1), with the following exceptions:

 typedef struct _DnssrvRpcZoneDotNet {
   DWORD dwRpcStructureVersion;
   DWORD dwReserved0;
   [string] wchar_t* pszZoneName;
   DNS_RPC_ZONE_FLAGS Flags;
   UCHAR ZoneType;
   UCHAR Version;
   DWORD dwDpFlags;
   [string] char* pszDpFqdn;
 } DNS_RPC_ZONE_DOTNET,
  *PDNS_RPC_ZONE_DOTNET,
  DNS_RPC_ZONE,
  *PDNS_RPC_ZONE;

dwRpcStructureVersion: The DNS management structure version number. This value MUST be set to 0x00000001.

dwReserved0: This field is reserved for future use. Senders set this to an arbitrary value and receivers MUST ignore it.

dwDpFlags: Application directory partition flags for this zone. This MUST be set to one of the combination of the DNS_RPC_DP_FLAGS (section 2.2.7.1.1). If this zone is not stored in the directory server this value MUST be 0x00000000.

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 in the directory server. If this zone is not stored in the directory server this value MUST be NULL.

If the DNS RPC client sends an older version of DNS_RPC_ZONE structure, that is, DNS_RPC_ZONE_W2K (section 2.2.5.2.1.1), then the DNS RPC server MUST construct a current version of DNS_RPC_ZONE structure, that is, DNS_RPC_ZONE_DOTNET, using the following steps:

  1. Copy the same value for fields that are common to input and the current version of the DNS_RPC_ZONE structures.

  2. The dwRpcStructureVersion field MUST be set to "1".

  3. All other fields that are defined only in DNS_RPC_ZONE_DOTNET and are not defined in DNS_RPC_ZONE (section 2.2.5.2.1), MUST be set to "0".