Skip to content
betaDNS betaRegistrar betaCloud platformSetup guide checked 2026-09-27

Tencent Cloud DNSPod

DNSPod API key setup: create a CAM sub-user API key on the same Tencent Cloud site as your DNSPod account, then attach DNS and optional registrar permissions.

On this page

DNSPod API key permissions

Credential type
CAM sub-user API key
Preview access
QcloudDNSPodReadOnlyAccess
Apply access
QcloudDNSPodFullAccess
API endpoint
DNSMigrator uses the provider's fixed API endpoint.

Additional access

The DNSPod policies do not grant registrar access. For automated nameserver cutover, also allow the site-specific Domain Registration actions listed below. Tencent's Domain API does not expose DS changes here, so DNSSEC and DS transitions remain guided console steps.

DNSControl id

creds.json TYPE
{
  "TYPE": "TENCENTDNS"
}

Create credentials

Create a CAM sub-user API key on the same Tencent Cloud site as your DNSPod account, then attach DNS and optional registrar permissions.

Access you'll grant

Preview

QcloudDNSPodReadOnlyAccess

Apply

QcloudDNSPodFullAccess

The DNSPod policies do not grant registrar access. For automated nameserver cutover, also allow the site-specific Domain Registration actions listed below. Tencent's Domain API does not expose DS changes here, so DNSSEC and DS transitions remain guided console steps.

Before you start

  • A Tencent Cloud China or Tencent Cloud International account with DNSPod zones.
  • A root or admin user that can create CAM sub-users, policies, and API keys.
  • For automated nameserver cutover, the domain must be registered in the same Tencent Cloud account and site.

Setup steps

0 of 6 done

  1. Choose the matching Tencent Cloud site

    Use the site where the account was created: China (cloud.tencent.com) for mainland China or International (tencentcloud.com) for international accounts. Users and API keys are site-specific.

    China site valuecn
    International site valueintl
  2. Create a CAM sub-user

    In the matching CAM console, open User → User List → Create User. Choose Custom Creation, select Access Resources and Receive Messages, and create a dedicated sub-user. Do not grant console access when the user is only for API calls.

  3. Attach the DNSPod policy

    On the user permission page, bind QcloudDNSPodReadOnlyAccess for preview only or QcloudDNSPodFullAccess for record and zone changes.

    PreviewQcloudDNSPodReadOnlyAccess
    ApplyQcloudDNSPodFullAccess
  4. Add registrar actions for cutover (optional)

    If DNSMigrator should change authoritative nameservers for Tencent-registered domains, add a custom CAM policy for the matching site. These are the exact API actions the registrar adapter calls; no registrar permission is needed for guided cutover.

    China registrar actionsdomain:DescribeDomainNameList, domain:DescribeDomainBaseInfo, domain:ModifyDomainDNSBatch, domain:DescribeBatchOperationLogDetails
    International registrar actionsdomain:DescribeIntlDomainList, domain:BatchModifyIntlDomainDNS, domain:DescribeIntlDomainBatchDetails
  5. Create the sub-user API key

    Open the sub-user's details, select API Keys, then Create Key. Save both SecretId and SecretKey from Create SecretKey. Tencent Cloud no longer lets you retrieve the SecretKey after creation.

  6. Paste the key and select the site

    Paste the pair into SecretId and SecretKey, then set Site to the account's China or International site. A valid key from the wrong site will not list the expected zones or domains.

Troubleshooting

AuthFailure or a signature error

Use the SecretId and SecretKey from the same enabled sub-user key, and make sure Site matches the account that issued it.

UnauthorizedOperation when reading or applying DNS

Bind QcloudDNSPodReadOnlyAccess for preview or QcloudDNSPodFullAccess for apply to this exact sub-user.

DNS zones or registered domains are missing

Switch Site only if the resources belong to the other Tencent Cloud site. China and International use different API endpoints and account inventories.

DNS preview works but automated cutover is forbidden

Add the site-specific Domain Registration actions listed in the cutover step. DNSPod policies alone do not authorize registrar nameserver APIs.

Official documentation

Guide checked against the official documentation on .

Credential fields

FieldRequirementWhere to find it
SecretIdsecretIdRequiredThe SecretId displayed for the dedicated CAM sub-user's API key.
SecretKeysecretKeyRequiredThe SecretKey shown when that key is created. If it was not saved, disable the key and create a replacement.
SitesiteOptionalChina for cloud.tencent.com accounts; International for tencentcloud.com accounts. Defaults to China.

Capabilities

Create zones
Yes
List zones
Yes
DNSSEC
Managed in the provider console
Minimum TTL
600 seconds
Apex CNAME
No
Read only
No

Record types

  • A
  • AAAA
  • CNAME
  • MX
  • TXT
  • NS
  • SRV
  • CAA
  • SPF

Caveats

  • DNSSEC and DS records are managed in the DNSPod console; the API can't change them.
  • The minimum TTL depends on the DNSPod plan: 600 seconds on the free plan, lower on paid plans.
  • China-site and International-site accounts use different API endpoints; pick the matching site.
  • Records on non-default resolution lines (ISP or region routing) are read as geo-routed records.

Troubleshooting

AuthFailure or a signature error
Use the SecretId and SecretKey from the same enabled sub-user key, and make sure Site matches the account that issued it.
UnauthorizedOperation when reading or applying DNS
Bind QcloudDNSPodReadOnlyAccess for preview or QcloudDNSPodFullAccess for apply to this exact sub-user.
DNS zones or registered domains are missing
Switch Site only if the resources belong to the other Tencent Cloud site. China and International use different API endpoints and account inventories.
DNS preview works but automated cutover is forbidden
Add the site-specific Domain Registration actions listed in the cutover step. DNSPod policies alone do not authorize registrar nameserver APIs.