acmesh-official / acmesh-official/acme.sh
Alle zones are retrieved -very efficient-
- 主要言語
- Shell
- スター
- 47.6k
- フォーク
- 5.7k
- 平均マージ
- 6日 5時間
- マージ済み PR(30日)
- 15
説明
We have about ~100.000 domain names / zones in powerdns and right now im testing the pdns plugin for acme.
I tested with 2 domains and it takes a long time: 6-7 minutes. In the logs i see this:
[Sun Jun 1 05:08:38 PM CEST 2025] Found domain API file: /root/.acme.sh/dnsapi/dns_pdns.sh
[Sun Jun 1 05:08:38 PM CEST 2025] Adding TXT value: 6_9PeUhNlK7zau-aaaa for domain: _acme-challenge.somedomain.nl
[Sun Jun 1 05:08:38 PM CEST 2025] Detect root zone
[Sun Jun 1 05:08:38 PM CEST 2025] GET
[Sun Jun 1 05:08:38 PM CEST 2025] url='http://pdns-myserver.someurl.nl:8081/api/v1/servers/localhost/zones'
[Sun Jun 1 05:08:38 PM CEST 2025] timeout=
[Sun Jun 1 05:08:38 PM CEST 2025] Http already initialized.
[Sun Jun 1 05:08:38 PM CEST 2025] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g '
The part "/api/v1/servers/localhost/zones" worries me because it gets alle the zones from our server which are about ~300.000 domain names. Can i modify the script so it only gets the zone its needs?
Many thanks!
コントリビューションガイド
調査の方向性
Check `dnsapi/dns_pdns.sh` (path shown in the log) in the zone-detection path that issues `GET /api/v1/servers/localhost/zones`. Trace how the root zone is derived from the challenge domain and whether the API flow can request only that zone. Run the dns_pdns TXT add flow against a large PowerDNS dataset and confirm the change still succeeds while avoiding a full zone-list fetch in logs.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 64/100