Add method of the PS_DnsServerRecursionScope class
Adds a new recursion scope to a DNS server.
Syntax
uint32 Add(
[in] string Name,
[in] string Forwarder[],
[in] boolean EnableRecursion,
[in] boolean PassThru,
[in] string ComputerName,
[out] DnsServerRecursionScope cmdletOutput
);
Parameters
-
Name [in]
-
The name of the scope.
-
Forwarder [in]
-
An array that contains the IP addresses of DNS servers to query.
-
EnableRecursion [in]
-
True to enable recursion on the DNS server; otherwise, false.
-
PassThru [in]
-
True to return the deleted recursion scope object in the cmdletOutput parameter; otherwise, false.
-
ComputerName [in]
-
The name of the DNS server. The acceptable values for this parameter are: an IPv4 address; an IPv6 address; and any other value that resolves to an IP address, such as a fully qualified domain name (FQDN), host name, or NETBIOS name.
-
cmdletOutput [out]
-
When this method returns, this parameter contains an array that contains the new recursion scope object.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|