Partager via


TestByZoneMaster method of the PS_DnsServer class

Tests that the computers with the specified addresses are functioning DNS servers.

Syntax

uint32 TestByZoneMaster(
  [in]  string            IPAddress[],
  [in]  string            ComputerName,
  [in]  string            ZoneName,
  [out] DnsServerValidity cmdletOutput[]
);

Parameters

IPAddress [in]

IP address of DNS server

ComputerName [in]

Specifies the remote computer on which to execute the command

ZoneName [in]

If specified, validates if the server hosts the specified zone.

cmdletOutput [out]

An embedded instance of the DnsServerValidity 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_DnsServer