All Products
Search
Document Center

Cloud Firewall:DescribePrivateDnsStatistics

Last Updated:Nov 25, 2025

Returns statistics about private DNS.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

DomainNameCreatedStartTime

integer

No

The start of the domain name creation time. The value is a UNIX timestamp.

1725864531

DomainNameCreatedEndTime

integer

No

The end of the domain name creation time. The value is a UNIX timestamp.

1726305596

Response elements

Element

Type

Description

Example

object

Schema of Response

AbnormalPrivateDnsCount

integer

The number of private DNS instances in an abnormal state.

12

CreatedPrivateDnsCount

integer

The number of created private DNS instances.

6

DomainNameTotalCount

integer

The total number of configured domain names.

5

NewDomainNameTotalCount

integer

The number of configured domain names that were created within the specified time range.

2

NormalPrivateDnsCount

integer

The number of private DNS instances in a normal state.

21

PrivateDnsRegionList

array<object>

A list of DNS regions.

object

A list of DNS regions.

DomainNameCount

integer

The number of configured domain names for private DNS in the region.

10

NewDomainNameCount

integer

The number of configured domain names that were created in the region within the specified time range.

1

PrivateDnsCount

integer

The number of private DNS instances in the region.

1

RegionNo

string

The region.

cn-hangzhou

RequestId

string

The ID of the request.

5716ED52-1B82-5DE1-8695-EFEC453D****

Examples

Success response

JSON format

{
  "AbnormalPrivateDnsCount": 12,
  "CreatedPrivateDnsCount": 6,
  "DomainNameTotalCount": 5,
  "NewDomainNameTotalCount": 2,
  "NormalPrivateDnsCount": 21,
  "PrivateDnsRegionList": [
    {
      "DomainNameCount": 10,
      "NewDomainNameCount": 1,
      "PrivateDnsCount": 1,
      "RegionNo": "cn-hangzhou"
    }
  ],
  "RequestId": "5716ED52-1B82-5DE1-8695-EFEC453D****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.