Home > Configuration > Domain Name Service > binddnspolicylabel_policy

binddnspolicylabel_policy

Use this method to bind policy to dns policylabel.

Syntax



Parameters

labelname

Name of the dns policy label.
This is mandatory parameter.

priority

Priority with which the policy is to be bound.
This is mandatory parameter.
Minimum value = 1.
Maximum value = 2147483647.

policyname

The dns policy name.
This is mandatory parameter.

priority

Priority with which the policy is to be bound.
This is mandatory parameter.
Minimum value = 1.
Maximum value = 2147483647.

gotopriorityexpression

Expression specifying the priority of the next policy which will get evaluated if the current policy rule evaluates to TRUE. o If gotoPriorityExpression is not present or if it is equal to END then the policy bank evaluation ends here o Else if the gotoPriorityExpression is equal to NEXT then the next policy in the priority order is evaluated. o Else gotoPriorityExpression is evaluated. The result of gotoPriorityExpression (which has to be a number) is processed as follows: - An UNDEF event is triggered if . gotoPriorityExpression cannot be evaluated . gotoPriorityExpression evaluates to number which is smaller than the maximum priority in the policy bank but is not same as any policy's priority . gotoPriorityExpression evaluates to a priority that is smaller than the current policy's priority - If the gotoPriorityExpression evaluates to the priority of the current policy then the next policy in the priority order is evaluated. - If the gotoPriorityExpression evaluates to the priority of a policy further ahead in the list then that policy will be evaluated next.

invoke

Invoke flag.

labeltype

Type of policy label invocation.
Possible Values : policylabel.

labelname

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

Return Value

Returns simpleResult

See Also