Share via


AddByFileReverseLookupZone method of the PS_DnsServerPrimaryZone class

Adds Primary zone on DNS server.

Syntax

uint32 AddByFileReverseLookupZone(
  [in]  string               ResponsiblePerson,
  [in]  string               DynamicUpdate,
  [in]  boolean              LoadExisting,
  [in]  string               NetworkID,
  [in]  string               ZoneFile,
  [in]  string               VirtualizationInstance,
  [in]  string               ComputerName,
  [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

NetworkID [in]

Specifies the IP address and Mask of reverse lookup zone in X.Y.Z/Mask format

ZoneFile [in]

Specifies File based zone path or custom directory partition path

VirtualizationInstance [in]

Unique identifier of the virtualization instance.

Windows Server 2012 R2 and Windows Server 2012: This parameter is unavailable prior to Windows Server 2016.

ComputerName [in]

Specifies the remote computer on which to execute the command

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