ADC CLI Commands

dns-policy64

The following operations can be performed on “dns-policy64”:

show rm set add

show dns policy64

Displays the parameters of the specified DNS64 policy or, if no policy name is specified, all configured DNS64 policies.

Synopsis

show dns policy64 []

Arguments

name Name of the DNS64 policy.

Output

rule The expression to be used by the dns policy.

hits The number of times the policy has been hit.

action Name of the DNS64 action to perform when the rule evaluates to TRUE. The built in actions function as follows:

  • A default dns64 action with prefix and mapped and exclude are any You can create custom actions by using the add dns action command in the CLI or the DNS64 > Actions > Create DNS64 Action dialog box in the Citrix ADC configuration utility.

priority Specifies the priority of the policy.

gotoPriorityExpression Expression specifying the priority of the next policy which will get evaluated if the current policy rule evaluates to TRUE.

boundTo Location where policy is bound

labelType Type of policy label invocation.

labelName Name of the label to invoke if the current policy rule evaluates to TRUE.

undefHits Number of Undef hits.

description Description of the policy

stateflag devno count

rm dns policy64

Removes a DNS64 Policy.

Synopsis

rm dns policy64

Arguments

name Name of the DNS64 policy to be removed.

set dns policy64

Modifies the parameters of the specified DNS64 policy.

Synopsis

set dns policy64 [-rule ] [-action ]

Arguments

name Name of the DNS policy.

rule Expression against which DNS traffic is evaluated. Note:

  • On the command line interface, if the expression includes blank spaces, the entire expression must be enclosed in double quotation marks.
  • If the expression itself includes double quotation marks, you must escape the quotations by using the character.
  • Alternatively, you can use single quotation marks to enclose the rule, in which case you do not have to escape the double quotation marks. Example: CLIENT.IP.SRC.IN_SUBENT(23.34.0.0/16)

action Name of the DNS64 action to perform when the rule evaluates to TRUE. The built in actions function as follows:

  • A default dns64 action with prefix and mapped and exclude are any You can create custom actions by using the add dns action command in the CLI or the DNS64 > Actions > Create DNS64 Action dialog box in the Citrix ADC configuration utility.

Example

set dns policy pol2 -rule “CLIENT.IP.SRC.IN_SUBNET(1.1.1.1/24)”

add dns policy64

Creates a DNS64 Policy.

Synopsis

add dns policy64 -rule -action

Arguments

name Name for the DNS64 policy.

rule Expression against which DNS traffic is evaluated. Note:

  • On the command line interface, if the expression includes blank spaces, the entire expression must be enclosed in double quotation marks.
  • If the expression itself includes double quotation marks, you must escape the quotations by using the character.
  • Alternatively, you can use single quotation marks to enclose the rule, in which case you do not have to escape the double quotation marks. Example: CLIENT.IP.SRC.IN_SUBENT(23.34.0.0/16)

action Name of the DNS64 action to perform when the rule evaluates to TRUE. The built in actions function as follows:

  • A default dns64 action with prefix and mapped and exclude are any You can create custom actions by using the add dns action command in the CLI or the DNS64 > Actions > Create DNS64 Action dialog box in the Citrix ADC configuration utility.

Example

add dns64 policy pol1 “client.ip.src.in_subnet(23.43.0.0/16)” -action act1

dns-policy64