active-charging service ruledef dns query-name
Configures rule expression to match query name in DNS request messages.
Syntax
dns query-name [ case-sensitive ] operator query_name
operator
Specify how to match.
Must be one of the following:
!= : Does not equal.
!contains : Does not contain.
!ends-with : Does not end with.
!starts-with : Does not start with.
= : Equals.
case-sensitive : Strings will be matched in case-sensitive manner.
contains : Contains.
ends-with : Ends with.
starts-with : Starts with.
query_name
Specify the query name to match.
Must be a string.
Usage Guidelines
Use this command to define rule expressions to match query name in DNS request messages.
Example
The following command defines a rule expression to match DNS query name "test":
dns query-name = test