active-charging service ruledef dns query-type

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

Privilege Level

Security Administrator, Administrator

Syntax

dns query-type operator query_type 

operator

Specify how to match.

Must be one of the following:

  • =: Equals.

  • !=: Does not equal.

query_type

Specify the previous state 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