Skip to content

DNS Configuration

The DNS configuration page is used to manage DNS APIs for applying certificates through DNS verification.

DNS List

Go to Certificate > DNS tab to view the DNS configuration list.

DNS List

The list displays the following information:

  • Note Name: Configuration name
  • Type: DNS provider type
  • Actions: Modify, delete

Create DNS Configuration

  1. Click the Create DNS button
  2. Enter a Comment Name
  3. Select DNS provider
  4. Fill in API credentials
  5. (Optional) Set the DNS Server used for the propagation check (defaults to 8.8.8.8)
  6. (Optional) Enable Skip DNS Verification for intranet environments, in which case AcePanel waits 60 seconds for propagation instead of polling the DNS server
  7. Click Submit

Supported DNS Providers

Domestic Providers

ProviderRequired Credentials
AliyunAccess Key, Secret Key
Tencent CloudSecretId, SecretKey
Huawei CloudAccessKeyId, SecretAccessKey
West.cnUsername, API Password

International Providers

ProviderRequired Credentials
CloudFlareAPI Key
GcoreAPI Key
PorkbunAPI Key, Secret Key
NameSiloAPI Token
ClouDNSAuth ID, Auth Password

ClouDNS Sub Auth ID

ClouDNS also supports a Sub Auth ID. To use it, fill in the Auth ID field with a sub- prefix (for example sub-12345).

Obtaining API Credentials

Alibaba Cloud

  1. Log in to Alibaba Cloud console
  2. Go to AccessKey Management
  3. Create AccessKey
  4. Record AccessKey ID and AccessKey Secret

Security Notice

It is recommended to create a sub-account and only grant DNS management permissions. Avoid using the main account AccessKey.

Tencent Cloud

  1. Log in to Tencent Cloud console
  2. Go to Access Management > API Key Management
  3. Create key
  4. Record SecretId and SecretKey

Cloudflare

  1. Log in to Cloudflare console
  2. Go to My Profile > API Tokens
  3. Create Token, select Edit zone DNS template
  4. Record the generated Token and fill it into the API Key field

DNS Verification Principle

  1. When applying for a certificate, the CA requires adding a specific TXT record in the domain DNS
  2. AcePanel automatically adds the verification record through DNS API
  3. CA verifies the TXT record exists
  4. Certificate is issued after verification passes
  5. AcePanel automatically deletes the verification record

DNS Alias (CNAME Delegation)

Version

Available since v3.2.0.

DNS Alias lets you complete DNS-01 validation for a domain by writing the _acme-challenge TXT record on a different (delegated) domain, instead of on the domain being certified. This is useful when:

  • The domain you want a certificate for is hosted on a DNS provider that AcePanel does not support, but you control another domain that is supported.
  • You want to keep ACME automation credentials scoped to a single dedicated zone for security reasons.

To use it, first add a permanent CNAME record at your DNS provider that points the challenge name of the original domain to the delegated record. For example, to delegate validation of example.com:

_acme-challenge.example.com.  CNAME  _acme-challenge.delegated.com.

Then, when applying for or editing a certificate (not on the DNS configuration page), select the DNS provider that manages the delegated domain and fill in the DNS Alias mapping:

  • Original domain: the domain being certified, for example example.com or *.example.com
  • Alias record: the full delegated record name the TXT value will be written to, for example _acme-challenge.delegated.com

AcePanel will then write the verification TXT record to the alias record on the delegated zone, and the CA will follow the CNAME to validate it. When matching the mapping, AcePanel first looks up the exact domain you entered; for a wildcard entry it also falls back to the bare domain (the *. prefix is stripped), so a single example.com mapping can cover *.example.com as well.

Use Cases

DNS verification is suitable for:

  • Applying for wildcard certificates (*.example.com)
  • Server port 80 is not accessible
  • Intranet servers
  • Origin servers behind CDN
  • Domains whose DNS provider is not directly supported, by delegating validation to a supported zone (see DNS Alias)

FAQ

Verification Failed

  • Check if API credentials are correct
  • Check if API permissions are sufficient
  • Check if the domain is managed by that DNS provider

DNS Propagation Delay

DNS records need some time to propagate after being added, usually ranging from a few minutes to a few hours. AcePanel polls the configured DNS Server every few seconds for up to about 10 minutes waiting for the record to appear before notifying the CA. If your records propagate slowly or the server is on an intranet that cannot be resolved publicly, enable Skip DNS Verification so AcePanel waits a fixed 60 seconds instead of polling. If verification still fails, you can retry later.