Files
acme.sh/dnsapi
T
pxMan79andneil b039ff3087 fix(dns_baidu): prefer new Baidu DNS API with legacy BCD fallback (#6992)
* fix(acme): prefer new Baidu DNS API with legacy BCD fallback

Keep the existing BCD implementation and add fallback support for the newer Baidu DNS record API. Prefer the new API by default, then fall back to the legacy BCD API to reduce compatibility risk.

* fix(dns_baidu): route through _get/_post + restore legacy BCD auth headers

Per review: _baidu_dns_call now uses _get/_post with _H1.._H5 (no raw curl, no __HTTP_STATUS__ parsing); _baidu_bcd_post restores _H1.._H5 so the legacy BCD path sends the Authorization signature again (fixes 401).

---------

Co-authored-by: neil <github@neilpang.com>
b039ff3087 · 2026-07-02 13:02:30 +08:00
History
..
2024-10-13 17:41:22 +02:00
2025-12-06 11:23:28 +01:00
2024-11-09 18:22:01 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2026-03-22 11:36:29 +08:00
2026-04-08 21:59:09 +08:00
2024-10-13 17:55:22 +02:00
2026-06-05 22:02:14 +02:00
2025-11-20 00:29:44 +08:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2025-11-03 18:14:27 +01:00
2026-01-14 21:05:32 +01:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:49:29 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:49:29 +02:00
2024-05-27 12:45:01 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2026-01-10 01:44:07 +01:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:49:29 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:49:29 +02:00
2024-10-13 17:41:22 +02:00
2024-08-23 16:00:08 +08:00
2024-10-13 17:49:29 +02:00
2024-10-13 17:41:22 +02:00
2024-07-31 16:22:12 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2025-07-02 21:15:46 +08:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:49:29 +02:00
2024-10-16 11:49:29 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:55:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-11-17 20:58:06 +01:00
2024-10-13 17:58:19 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:58:19 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2025-12-30 16:31:16 -05:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:49:29 +02:00
2024-10-13 17:58:19 +02:00
2024-10-13 17:59:25 +02:00
2026-05-24 22:20:40 +02:00
2026-03-03 05:31:51 -08:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-12-28 17:42:58 +02:00
2020-01-30 12:06:39 +08:00