| getdnspolicyResult Structure Definition |
The getdnspolicyResult structure defines the return type for getdnspolicy API. |
Syntax |
Members |
rc |
If the method succeeds, rc is 0 else rc > 0. Values above 0x8000 indicate Warnings. |
message |
If the method succeeds, message is NULL else message contains Error/Warning message. |
dnspolicyList |
List of dnspolicys |
| dnspolicy Structure Definition |
The dnspolicy structure defines the actual return type values for getdnspolicy API. |
Syntax |
Members |
name |
Name of the DNS policy. |
rule |
The expression to be used by the dns policy. |
viewname |
The view name that must be used for the given policy NOTE: This attribute is deprecated. This is deprecated attribute. Please use -actionName |
preferredlocation |
The location used for the given policy. This is deprecated attribute. Please use -prefLocList NOTE: This attribute is deprecated. This is deprecated attribute. Please use -actionName |
preferredloclist |
The location list in priority order used for the given policy. NOTE: This attribute is deprecated. This is deprecated attribute. Please use -actionName |
hits |
The number of times the policy has been hit. |
undefhits |
Number of Undef hits. |
drop |
The dns packet must be dropped. NOTE: This attribute is deprecated. This is deprecated attribute. Please use -actionName |
actionname |
Name of the DNS action to perform when the rule evaluates to TRUE. The built in actions function as follows:
* dns_default_act_Drop. Drop the DNS request.
* dns_default_act_Cachebypass. Bypass the DNS cache and forward the request to the name server.
You can create custom actions by using the add dns action method in the CLI or the DNS > Actions > Create DNS Action dialog box in the Citrix ADC configuration utility. |
cachebypass |
By pass dns cache for this. NOTE: This attribute is deprecated. This is deprecated attribute. Please use -actionName |
activepolicy |
Indicates whether policy is bound or not. |
boundto |
Location where policy is bound |
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. |
labeltype |
Type of policy label invocation. |
labelname |
Name of the label to invoke if the current policy rule evaluates to TRUE. |
description |
Description of the policy |
logaction |
Name of the messagelog action to use for requests that match this policy. |
builtin |
Flag to determine whether DNS policy is default or not |
_nextgenapiresource |
See Also |