Adds a DNS response policy.
Output / Response
Returns the object ID of the new DNS response policy added.
long addResponsePolicy( long configurationId, String name, String responsePolicyType, long ttl, String properties )
|configurationId||The object ID of the configuration to which the response policy is being added.|
|name||The name of the DNS response policy being added.|
|responsePolicyType||The type of response policy being added. The available values are
BLACKLIST, BLACKHOLE, WHITELIST, and REDIRECT.
Note: The responsePolicyType values need to be in CAPITAL letters.
|ttl||The time-to-live value in seconds.|
|properties||A string containing options, including comments and user-defined
Note: If you configure a redirect response policy, you must also specify a redirectTarget property with the value set as a FQDN. For example: