Describes the protection configuration of a domain name, including IP whitelist and blacklist, and the HTTP flood protection configuration.

Request parameters

Name Type Required Description
Domain String Yes The domain name to be described.

Response parameters

Name Type Description
RequestId String The unique identifier (ID) for this request.
CcInfo Object The HTTP flood protection configuration. For a structure description, see CcInfo.
WhiteList List The IP whitelist of the domain name.
Blacklist List The IP blacklist of the domain name.
CnameMode Integer The CNAME routing method. Value:
  • 0: Priority based
  • 1: Load balance based
Table 1. CcInfo
Name Type Description
CcSwitch Boolean Determines whether to enable HTTP flood protection for the domain name.
CcCustomRuleEnable Boolean Determines whether to enable custom HTTP flood protection for the domain name.
CcTemplate String The HTTP flood protection mode. Value:
  • default: Normal
  • gf_under_attack: Attack emergency
  • gf_sos_verify: High
  • gf_sos_enhance: Very high
CcCustomRuleCount Integer The total number of custom HTTP flood protection rules.

Example

Request example
https://ddospro.cn-hangzhou.aliyuncs.com/?Action=DescribeDomainSecurityConfig
&Domain=www.aliyun.com
&public parameters
Response example
  • JSON format
    {
    	"RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E",
    	"WhiteList":"1.1.1.1,2.2.2.2",
    	"BlackList":"1.1.1.1,2.2.2.2",
        "CcInfo": {
            "CcSwitch": true,
            "CcCustomRuleEnable": true,
            "CcTemplate": "danger",
            "CcCustomRuleCount": 10,
        },
    	"CnameEnable": true,
    	"CnameMode": 0
    }