dns-action¶
The following operations can be performed on "dns-action":
set dns action¶
Set a dns Action. Use this command to set the values for Ip address and TTL, If Ipaddress is given in set dns action command we will discard the previous set and will apply this new set of ipaddress given.
Synopsis¶
set dns action
Arguments¶
actionName Name of the dns action.
IPAddress List of IP address to be returned in case of rewrite_response actiontype. They can be of IPV4 or IPV6 type. In case of set command We will remove all the IP address previously present in the action and will add new once given in set dns action command.
TTL Time to live, in seconds. Default value: 3600 Maximum value: 2147483647
viewName The view name that must be used for the given action.
preferredLocList The location list in priority order used for the given action.
dnsProfileName Name of the DNS profile to be associated with the transaction for which the action is chosen
Example¶
set dns action
unset dns action¶
Use this command to remove dns action settings.Refer to the set dns action command for meanings of the arguments.
Synopsis¶
unset dns action
add dns action¶
Add a dns action.
Synopsis¶
add dns action
Arguments¶
actionName Name of the dns action.
actionType The type of DNS action that is being configured.
Possible values: ViewName, GslbPrefLoc, noop, Drop, Cache_Bypass, Rewrite_Response
IPAddress List of IP address to be returned in case of rewrite_response actiontype. They can be of IPV4 or IPV6 type. In case of set command We will remove all the IP address previously present in the action and will add new once given in set dns action command.
TTL Time to live, in seconds. Default value: 3600 Maximum value: 2147483647
viewName The view name that must be used for the given action.
preferredLocList The location list in priority order used for the given action.
dnsProfileName Name of the DNS profile to be associated with the transaction for which the action is chosen
Example¶
add dns action
show dns action¶
Used to display the action-related information.
Synopsis¶
show dns action [
Arguments¶
actionName Name of the dns action.
Output¶
actionType The type of DNS action that is being configured.
TTL Time to live, in seconds.
IPAddress List of IP address to be returned in case of rewrite_response actiontype. They can be of IPV4 or IPV6 type. In case of set command We will remove all the IP address previously present in the action and will add new once given in set dns action command.
viewName The view name that must be used for the given action.
preferredLocList The location list in priority order used for the given action.
drop The dns packet must be dropped.
cacheBypass By pass dns cache for this.
dnsProfileName Name of the DNS profile to be associated with the transaction for which the action is chosen
builtin Flag to determine whether DNS action is default or not
feature The feature to be checked while applying this config
devno count stateflag
Example¶
show dns action
rm dns action¶
Removes a dns Action.
Synopsis¶
rm dns action
Arguments¶
actionName Name of the dns action.
Example¶
rm dns action action1