• Guide for developing a DNS API for acme.sh
  • Some useful tips
  • 1. The Cloudflare DNS API is a recommended reference:
  • 2. The script file name must be dns_myapi.sh
  • 3. The file can be placed in acme.sh/ folder, or in acme.sh/dnsapi/ subfolder.
  • 4. There must be 2 functions in your script:
  • 5. Guide for the add function
  • 1. Get the full domain and the txt record:
  • 2. You must save your username and password in the add function:
  • 3. Detect which part is your root zone.
  • 4. Call your DNS API to add a TXT record.
  • 5. Additional HTTP headers.
  • 6. Process the API Response.
  • 7. Guide for the rm function.
  • 8. Please also check this bug to support the V2 wildcard cert:
  • 9. Please create a new issue for future bugs
  • 10. Update the docs to include your DNS API usage.
  • 11. Add structural info description
  • 12. Please read and follow the instruction before creating a pull request