Description
Adds a DNS response policy.
Parameters
Name | Description |
---|---|
configurationId |
Location: query Type: integer (int64) The object ID of the configuration to which you are adding the response policy. |
name |
Location: query Type: string The name of the DNS response policy you are adding. |
properties |
Location: query Type: string A string containing options, including comments and user-defined fields.Note: If you configure a redirect response policy, you must
also specify the redirectTarget property with the value set as
a FQDN. For example:
redirectTarget=redirect.example.com |
responsePolicyType |
Location: query Type: string The type of response policy you are adding. The available values are BLACKLIST, BLACKHOLE, WHITELIST, and REDIRECT.Note: The
responsePolicyType values must be in CAPITAL
letters.
|
ttl |
Location: query Type: integer (int64) The time-to-live (TTL) value in seconds. |
Responses
Code | Description |
---|---|
201 |
Type: integer (int64) Returns the object ID of the new DNS response policy added. |