Share via


Set method of the PS_DnsServerResponseRateLimitingExceptionlist class

The Syntax Set-DnsServerResponseRateLimitingExceptionlist cmdlet updates the settings of a RRL exceptionlist.

Syntax

uint32 Set(
  [in]  string                                     ClientSubnet,
  [in]  string                                     Fqdn,
  [in]  string                                     ServerInterfaceIP,
  [in]  string                                     Name,
  [in]  string                                     Condition,
  [in]  boolean                                    PassThru,
  [in]  string                                     ComputerName,
  [out] DnsServerResponseRateLimitingExceptionlist cmdletOutput
);

Parameters

ClientSubnet [in]

The client subnet criteria. See the remarks section for more information.

Example: "EQ,America,Asia,NE,Europe" (where America, Asia and Europe are client subnets)

Fqdn [in]

FQDN criteria. See the remarks section for more information.

For example, "EQ,*.contoso.com,NE,*.fabricam.com"

ServerInterfaceIP [in]

Server Interface on which the DNS server is listening. See the Remarks section for more information.

For example, "EQ,10.0.0.3,"

Name [in]

Name of the RRL exception list.

Condition [in]

Multiple values of the criteria, combined together using the 'Condition' parameter as logical operator.

The same operator is also used for combining EQ and NE expressions within a value.By default, the Condition is set to "AND".

PassThru [in]

true to return the current instance in the CmdletOutput parameter. The default is false.

ComputerName [in]

Specifies the remote computer on which to execute the command.

cmdletOutput [out]

On return, contains a DnsServerResponseRateLimitingExceptionlist with the following fields:

  • Name
  • Condition
  • ClientSubNet
  • Fqdn
  • ServerInterfaceIP

This parameter returns a value only if PassThru is set to true.

Remarks

The clientSubnet, FQDN, and ServerInterfaceIP parameters use the following format for their values:

  • The value must entered in format ?COMPARATOR, value1, value2,?, COMPARATOR, value 3, value 4,..? where the COMPARATOR can be EQ or NE. There can be only one EQ and one NE in a value.
  • The values following the EQ operator will be treated as multiple assertions which are logically combined (OR?d). The values following the NE operator will be treated as multiple assertions which are logically differenced (AND?d).
  • Multiple values are combined together using the 'Condition' parameter as logical operator. The same operator is also used for combining EQ and NE expressions within a value. For example,

Requirements

Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerResponseRateLimitingExceptionlist