-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for the Yandex 360 for Business DNS API #5214
Conversation
Welcome |
I have reviewed the DNS API Dev Guide and DNS-API-Test and can confirm that my code complies with the guidelines provided. I look forward to the review and am happy to make any further adjustments if needed. |
…mprove error handling
- Make YANDEX360_ORG_ID optional and auto-retrieve if not provided. - Refactor _get_root function to search across multiple organizations.
- Removed or moved `_normalizeJson` processing to occur only when needed. - Corrected usage of `_red` to `__red`. - Simplified JSON parsing by using more concise `cut` commands. - Simplify token refresh logic.
@Neilpang, I have made improvements to the integration as much as possible. Could you please review and accept my pull request if everything looks good? |
This pull request addresses issue #4555 by removing the outdated Yandex DNS API and adding support for the new Yandex 360 for Business DNS API.
The script has two modes: the standard mode, which works using a manually provided OAuth token and a mode with automatic OAuth token retrieval and renewal, which, however, requires user interaction during the first use.
More details at https://github.com/acmesh-official/acme.sh/wiki/dnsapi2#167-use-yandex-360-for-business-dns-api
Issue for the future bugs #5213