All Products
Search
Document Center

DescribeDohUserInfo

Last Updated: May 27, 2021

Obtains basic information about DNS over HTTPS (DoH) users.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action

String

Yes

DescribeDohUserInfo

The operation that you want to perform. Set the value to DescribeDohUserInfo.

Lang

String

No

en

The language type.

StartDate

String

No

2019-07-04

The beginning of the time range to query. Specify the time in the YYYY-MM-DD format.

You can query only the DNS records of the last 90 days.

StartDate >= Now - 90

The value of StartDate must be greater than or equal to the difference between the current date and 90.

EndDate

String

No

2019-07-04

The end of the time range to query. Specify the time in the YYYY-MM-DD format.

The default value is the day when you perform the operation.

Response parameters

Parameter

Type

Example

Description

DomainCount

Integer

123

The number of accessed domain names.

PdnsId

Long

12345678

The ID of the Alibaba Cloud Public DNS user.

RequestId

String

0F32959D-417B-4D66-8463-68606605E3E2

The ID of the request.

SubDomainCount

Integer

123

The number of accessed subdomains.

Examples

Sample requests

http(s)://alidns.aliyuncs.com/?Action=DescribeDohUserInfo
&<Common request parameters>

Sample success responses

XML format

<RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>
<SubDomainCount>123</SubDomainCount>
<PdnsId>12345678</PdnsId>
<DomainCount>123</DomainCount>

JSON format

{
	"RequestId": "0F32959D-417B-4D66-8463-68606605E3E2",
	"SubDomainCount": "123",
	"PdnsId": "12345678",
	"DomainCount": "123"
}

Error codes

For a list of error codes, visit the API Error Center.