2.3.2.1.2 DcPromo Flag

The DcPromo flag represents the DcPromo target application directory partition for the zone. If, during zone creation (ZoneCreate operation of the R_Dnssrvoperation (section 3.1.4.1) method call), a zone is placed into the directory partition that represents the default naming context because the correct directory partition was not available at the time, the zone's DcPromo flag is set appropriately to reflect this. While polling the directory server, and if the time elapsed since the last directory server polling operation is more than 15 minutes, the server SHOULD<105> check whether it is in RODC mode (a server is in RODC mode if ForceRODCMode [section 3.1.1.1.1] is TRUE or fReadOnlyDC [section 2.2.4.2.2.3] is TRUE). If the time elapsed is less than 15 minutes, or if the server is in RODC mode, the server MUST NOT perform the following operations. If the server is not in RODC mode and if the DNS server discovers a zone with a nonzero DcPromo flag, the zone and the Zone Access Control List (ACL) (section 3.1.1) MUST be moved from their current location to the application directory partition specified in the following table if that partition is now available.<106>

Constant/value

Description

DCPROMO_CONVERT_NONE

0x00000000

No change to existing zone storage.

DCPROMO_CONVERT_DOMAIN

0x00000001

Zone is to be moved to the DNS domain partition. This is the partition in the Application Directory Partition Table (section 3.1.1) that has the DNS_DP_DOMAIN_DEFAULT bit set in dwDpFlags (section 2.2.5.2.7.2). See DNS_ZONE_CREATE_FOR_DCPROMO (section 2.2.5.2.7.1).If DownlevelDCsInDomain is nonzero, the zone is to be stored in the directory partition that represents the default naming context. See DNS_DP_LEGACY (section 2.2.7.1.1).

DCPROMO_CONVERT_FOREST

0x00000002

Zone is to be moved to the DNS forest partition. This is the partition in the Application Directory Partition Table (section 3.1.1) that has the DNS_DP_FOREST_DEFAULT bit set in dwDpFlags (section 2.2.5.2.7.2). See DNS_ZONE_CREATE_FOR_DCPROMO_FOREST (section 2.2.5.2.7.1).