active-charging service ruledef dns query-type

Configures rule expression to match the query type in the DNS request messages.

Command Mode

Exec > Global Configuration (config) > ACS Configuration (config-service-acs_name ) > Ruledef Configuration (config-ruledef-ruledef_name )

Syntax

dns query-type operator query_type 

operator

Specify how to match.

Must be one of the following:

  • != : Does not equal.

  • = : Equals.

query_type

Specify the DNS query type to match.

Must be one of the following:

  • a : Support query-type A.

  • aaaa : Support query-type AAAA.

  • cname : Support query-type CNAME.

  • ns : Support query-type NS.

  • null : Support query-type NULL.

  • ptr : Support query-type PTR.

  • srv : Support query-type SRV.

  • txt : Support query-type TXT.

Usage Guidelines

Use this command to define rule expressions to match the query type in the DNS request messages.

Example

The following command defines a rule expression to match the DNS query type "txt":
dns query-type = txt