Add Response Policy - BlueCat Address Manager - 9.0.0

Address Manager API Guide

English (United States)
Product name
BlueCat Address Manager

Adds a DNS response policy.

Output / Response

Returns the object ID of the new DNS response policy added.

API Call:

long addResponsePolicy( long configurationId, String name, String responsePolicyType, long ttl, String properties )
Parameter Description
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 fields.
Note: If you configure a redirect response policy, you must also specify a redirectTarget property with the value set as a FQDN. For example: