Share via


AddByReverseLookupZone method of the PS_DnsServerSecondaryZone class

Creates a standard secondary zone.

Syntax

uint32 AddByReverseLookupZone(
  [in]  boolean                LoadExisting,
  [in]  string                 MasterServers[],
  [in]  string                 NetworkId,
  [in]  string                 ZoneFile,
  [in]  string                 ComputerName,
  [in]  boolean                PassThru,
  [out] DnsServerSecondaryZone cmdletOutput[]
);

Parameters

LoadExisting [in]

Loads existing zone

MasterServers [in]

Specifies IP addresses of the master DNS servers for this zone.

NetworkId [in]

Specifies the IP subnet and range of the zone to be created. IP address with prefix length, for example: 11.1.1/24 , 1234::/64

ZoneFile [in]

Specifies name of the zone file. This parameter is only relevant for file-backed zones.

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 and embedded instance of the DnsServerSecondaryZone 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_DnsServerSecondaryZone