Add Response Policy - BlueCat Address Manager - 9.0.0

Address Manager API Guide

Locale
English (United States)
Product name
BlueCat Address Manager
Version
9.0.0

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:
redirectTarget=redirect.example.com