Skip to content

[Bug] Does certificate application not automatically overwrite existing DNS records? #13262

Description

@kuilei0926

Contact Information

No response

1Panel Version

专业版 v2.2.3

Problem Description

每次申请证书都要我手动上去删除原来的DNS记录?

Steps to Reproduce

2026/07/14 11:31:24 开始申请证书,域名 [.abc.com,abc.com],方式 [DNS 自动]DNS 账号 [Cloudflare] 厂商 [CloudFlare]
time=2026-07-14T11:31:25.776+08:00 level=INFO msg="Obtaining bundled SAN certificate." domains="
.abc.com, abc.com"
time=2026-07-14T11:31:27.067+08:00 level=INFO msg="Use solver." domain=.abc.com type=dns-01
time=2026-07-14T11:31:27.067+08:00 level=INFO msg="Use solver." domain=abc.com type=dns-01
time=2026-07-14T11:31:27.067+08:00 level=INFO msg="dns01: preparing to solve the challenge." domain=
.abc.com
time=2026-07-14T11:31:29.512+08:00 level=INFO msg="dns01: preparing to solve the challenge." domain=abc.com
time=2026-07-14T11:31:30.064+08:00 level=INFO msg="dns01: cleaning DNS-01 challenge." domain=.abc.com
time=2026-07-14T11:31:30.084+08:00 level=WARN msg="Cleaning up failed." domain=
.abc.com error="cloudflare: unknown record ID for '_acme-challenge.abc.com.'"
time=2026-07-14T11:31:30.084+08:00 level=INFO msg="dns01: cleaning DNS-01 challenge." domain=abc.com
time=2026-07-14T11:31:30.169+08:00 level=WARN msg="Cleaning up failed." domain=abc.com error="cloudflare: unknown record ID for '_acme-challenge.abc.com.'"
time=2026-07-14T11:31:30.410+08:00 level=INFO msg="Deactivating authorization." url=https://acme.zerossl.com/v2/DV90/authz/BjA9x0QDfCJGCcUxqEiFTg
time=2026-07-14T11:31:31.453+08:00 level=INFO msg="Deactivating authorization." url=https://acme.zerossl.com/v2/DV90/authz/WLzmLpFUdb8NMdw81KDGnA
2026/07/14 11:31:31 申请 [.abc.com] 证书失败,resolver: one or more domains had a problem: [.abc.com: dns01: error presenting token (*.abc.com): cloudflare: failed to create TXT record: [status code 400] 81058: An identical record already exists.] [abc.com: dns01: error presenting token (abc.com): cloudflare: failed to create TXT record: [status code 400] 81058: An identical record already exists.]

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions