tencent cloud

文档反馈

DescribeDnssec

最后更新时间:2022-12-29 17:34:51
This document is currently invalid. Please refer to the documentation page of the product.

1. API Description

Domain name for API request: teo.tencentcloudapi.com.

This API is used to query DNSSEC information.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeDnssec.
Version Yes String Common Params. The value used for this API: 2022-09-01.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
ZoneId Yes String The site ID.

3. Output Parameters

Parameter Name Type Description
Status String The DNSSEC status. Values:
  • enabled: Enabled
  • disabled: Disabled
  • DnssecInfo DnssecInfo The DNSSEC information.
    Note: This field may return null, indicating that no valid values can be obtained.
    ModifiedOn Timestamp ISO8601 The update time of the site information.
    RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

    4. Example

    Example1 Querying DNSSEC information

    Input Example

    POST / HTTP/1.1
    Host: teo.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribeDnssec
    <Common request parameters>
    
    {
        "ZoneId": "zone-25ryyvog1qih"
    }
    

    Output Example

    {
        "Response": {
            "Status": "enabled",
            "ModifiedOn": "2020-09-22T00:00:00+00:00",
            "RequestId": "2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a",
            "DnssecInfo": {
                "KeyTag": 0,
                "Algorithm": "13",
                "DigestAlgorithm": "SHA256",
                "KeyType": "ECDSAP256SHA256",
                "DS": "example.com. 3600 IN DS 16953 13 2 48E939042E82C22542CB377B580DF",
                "PublicKey": "oXiGYrSTO+LSCJ3mohc8EP+CzF9KxBj8/ydXJ22pKuZP3VAC3/Md/k7xZfz470Co",
                "Flags": 257,
                "DigestType": "2",
                "Digest": "48E939042E82C22542CB377B580DFDC52A361CEFDC72E7F9107E2B6BD9306A45"
            }
        }
    }
    

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    ResourceNotFound The resource doesn’t exist.