1Panel-dev / 1Panel-dev/1Panel

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

Open
#13,262 1 comment 0 reactions 1 assignee View on GitHub

@wanghe-fit2cloud is already working on this.

Since Jul 14, 2026.

type: question
Dominant language
Go
Stars
37k
Forks
3.4k
Avg merge
9h 16m
Merged PRs (30d)
105

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.