Compartilhar via


AddByFileForwardLookupZone method of the PS_DnsServerConditionalForwarder class

Adds a DNS conditional forwarder zone.

Syntax

uint32 AddByFileForwardLookupZone(
  [in]  boolean                           LoadExisting,
  [in]  string                            MasterServers[],
  [in]  string                            ComputerName,
  [in]  boolean                           UseRecursion,
  [in]  string                            Name,
  [in]  uint32                            ForwarderTimeout,
  [in]  boolean                           PassThru,
  [out] DnsServerConditionalForwarderZone cmdletOutput
);

Parameters

LoadExisting [in]

Specifies Loading of existing zone.

MasterServers [in]

Specifies the IP addresses of the master servers of the zone.

ComputerName [in]

Specifies the remote computer on which to execute the command.

UseRecursion [in]

Overrides DNS server's Use Recursion setting.

Name [in]

Specifies the name of the zone.

ForwarderTimeout [in]

Indicates the time, in seconds, a DNS server forwarding a query for the name under the forward zone waits for resolution from the forwarder before attempting to resolve the query itself. This parameter is applicable to the Forward zones only. Range = 0 to 15

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 DnsServerConditionalForwarder 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_DnsServerConditionalForwarder