Set method of the PS_DnsServerRecursionScope class
Updates a recursion scope on a DNS server.
Syntax
uint32 Set(
[in] boolean EnableRecursion,
[in] string Forwarder[],
[in] string Name,
[in] boolean PassThru,
[in] string ComputerName,
[out] DnsServerRecursionScope cmdletOutput
);
Parameters
-
EnableRecursion [in]
-
True to enable recursion on the DNS server; otherwise, false.
-
Forwarder [in]
-
An array that contains the IP addresses of DNS servers to query.
-
Name [in]
-
The name of the scope.
-
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 updated recursion scope object.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|