共用方式為


2.2.7.1.1 DNS_RPC_DP_FLAGS

The DNS_RPC_DP_FLAGS enumeration is used by the DNS server to indicate the state of an application directory partition.<53> Any combination of the values in the following table MAY be specified, with the exception that, of the following values, more than one MUST NOT be specified: DNS_DP_LEGACY, DNS_DP_DOMAIN_DEFAULT, and DNS_DP_FOREST_DEFAULT.

If a root hint zone is found in any application directory partition that is not marked with either DNS_DP_LEGACY or DNS_DP_DOMAIN_DEFAULT, then the DNS server MUST ignore it.

Constant/value

Description

DNS_DP_AUTOCREATED

0x00000001

The application directory partition was automatically created by the DNS server. This flag is set whenever either the DNS_DP_DOMAIN_DEFAULT or DNS_DP_FOREST_DEFAULT flags are set.

DNS_DP_LEGACY

0x00000002

This application directory partition represents the default naming context (NC) in the directory server. This flag is set when the application directory partition's DN matches "CN=MicrosoftDNS, CN=System" appended with the value of the defaultNamingContext attribute of the root DN.

DNS_DP_DOMAIN_DEFAULT

0x00000004

This application directory partition is replicated across all DNS servers in the Active Directory domain. This flag is set when the application directory partition's DN matches the value of the "DomainDirectoryPartitionBaseName" DNS server string property (surrounded by "CN=" and ",") and appended with the value of the defaultNamingContext attribute of the root DN.

DNS_DP_FOREST_DEFAULT

0x00000008

This application directory partition is replicated across all DNS servers in the Active Directory forest. This flag is set when the application directory partition's DN matches the value of the "ForestDirectoryPartitionBaseName" DNS server string property (surrounded by "CN=" and ",") appended with the value of the rootDomainNamingContext attribute of the root DN.

DNS_DP_ENLISTED

0x00000010

This flag indicates that the DNS server is enlisted in this application directory partition. It is set when the value of the local directory server's dsServiceName attribute (the DN for the local directory server) is present in either the msDS-NC-Replica-Locations or msDS-NC-RO-Replica-Locations <54> attributes (sections 2.395-2.396) of the application directory partition crossRef object (see section 6.1.1.2.1.1.5).

DNS_DP_DELETED

0x00000020

This application directory partition is in the process of being deleted by the directory server. This flag is set when, during a poll of the application directory partitions, an application directory partition that was present during a previous poll is no longer present. If this application directory partition is not present in the directory server the next time the DNS server polls for application directory partition information, the DNS server MUST remove all zones stored in this application directory partition from the in-memory DNS Zone Table (section 3.1.1) and MUST remove this application directory partition from the in-memory Application Directory Partition Table (section 3.1.1).