Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace SteeringPolicyLimitRuleCase

Properties

Optional caseCondition

caseCondition: undefined | string

An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. Example: If you have an office that uses the subnet {@code 192.0.2.0/24} you could use a {@code caseCondition} expression {@code query.client.address in ('192.0.2.0/24')} to define a case that matches queries from that office.

count

count: number

The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the {@code count} property is set to {@code 2} and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj