tobychui / zoraxy

A general purpose HTTP reverse proxy and forwarding tool. Now written in Go!
https://zoraxy.aroz.org
GNU Affero General Public License v3.0
3.05k stars 185 forks source link

[BUG] DNS Challange fails with own domain with the DNS provider IPv64 #351

Open steve2142 opened 1 month ago

steve2142 commented 1 month ago

Describe the bug Hi, When I try to create a certificate for my own domain under the DNS provider IPv64, i get the following error. It works with a domain from IPv64, but not with my own. Dennis, the owner of IPv64 finds no error in the API, he says Zoraxy creates the TXT record but it is immediately deleted, other users with their own domain under IPv64 have the same problem. The challange works fine with proxmox or my synology.

2024/10/24 11:08:09 [INFO] [*.xxxxx.xx] acme: Cleaning DNS-01 challenge 2024/10/24 11:08:09 [WARN] [*.xxxxx.xx] acme: cleaning up failed: ipv64: error (403 Forbidden): del_record 2024/10/24 11:08:09 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/xxxxxxxxxxxxxx [2024-10-24 11:08:09.756247] [ACME] [system:error] Obtain certificate failed: error: one or more domains had a problem: [*.xxxxx.xx] [*.xxxxx.xx] acme: error presenting token: ipv64: error (400 Bad Request): invalid record informations

To Reproduce Steps to reproduce the behavior:

  1. Go to ACME Tool
  2. Enable DNS-Challenge
  3. Select "IPv64"
  4. See error

Expected behavior Generate a new certificate for the selected domain

Host Environment (please complete the following information):

pascalprey commented 1 month ago

Same here with IPv64 and Cloudflare.