adddnsaction

Use this method to add a dns action.

Syntax



Parameters

actionname

Name of the dns action.
This is mandatory parameter.

actiontype

The type of DNS action that is being configured.
This is mandatory parameter.

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 method We will remove all the IP address previously present in the action and will add new once given in set dns action method.

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

Return Value

Returns simpleResult

See Also