Freigeben über


AddByADForwardLookupZone method of the PS_DnsServerPrimaryZone class

Adds Primary zone on DNS server.

Syntax

uint32 AddByADForwardLookupZone(
  [in]  string               ResponsiblePerson,
  [in]  string               DynamicUpdate,
  [in]  boolean              LoadExisting,
  [in]  string               Name,
  [in]  string               ComputerName,
  [in]  string               ReplicationScope,
  [in]  string               DirectoryPartitionName,
  [in]  boolean              PassThru,
  [out] DnsServerPrimaryZone cmdletOutput
);

Parameters

ResponsiblePerson [in]

Specifies the responsible person for the zone

DynamicUpdate [in]

Determines whether the specified zone accepts dynamic updates.

The possible values are.

None ("None")

Secure ("Secure")

NonsecureAndSecure ("NonsecureAndSecure")

LoadExisting [in]

Specifies Loading of an existing zone

Name [in]

Specifies the name of the zone.

ComputerName [in]

Specifies the remote computer on which to execute the command

ReplicationScope [in]

Specifies the directory partition on which to store the zone. FQDN: Specifies fully qualified domain name of the directory partition. domain: Stores the zone on the domain directory partition. enterprise: Stores the zone on the enterprise directory partition. legacy: Stores the zone on a legacy directory partition. Parameter valid only if it is AD based.

The possible values are.

Forest ("Forest")

Domain ("Domain")

Legacy ("Legacy")

Custom ("Custom")

DirectoryPartitionName [in]

Specifies the directory partition on which to store the zone.

PassThru [in]

True to return the object that was modified by the method. By default, this method does not generate any output.

cmdletOutput [out]

Receives an embedded instance of the DnsServerPrimaryZone class.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerPrimaryZone