Commit Graph

26 Commits (df6aa99ec21ff5222cd64612022d81f887102192)

Author SHA1 Message Date
Sergey Ponomarev 6b7b5caf54 DNS provider API: structured description
Instead of using comments declare info in a special variable.
Then the variable can be used to print the DNS API provider usage.
The usage can be parsed on UI and show all needed inputs for options.

The info is stored in plain string that it's both human-readable and easy to parse:

    dns_example_info='API name
     An extended description.
     Multiline.
    Domains: list of alternative domains to find
    Site: the dns provider website e.g. example.com
    Docs: Link to ACME.sh wiki for the provider
    Options:
     VARIABLE1 Title for the option1.
     VARIABLE2 Title for the option2. Default "default value".
     VARIABLE3 Title for the option3. Description to show on UI. Optional.
    Issues: Link to a support ticket on https://github.com/acmesh-official/acme.sh
    Author: First Lastname <authoremail@example.com>, Another Author <https://github.com/example>;
    '

Here:
VARIABLE1 will be required.
VARIABLE2 will be required too but will be populated with a "default value".
VARIABLE3 is optional and can be empty.

A DNS provider may have alternative options like CloudFlare may use API KEY or API Token.
You can use a second section OptionsAlt: section.

Some providers may have alternative names or domains e.g. Aliyun and AlibabaCloud.
Add them to Domains: section.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
9 months ago
imlonghao 7ef2533b98
fix(cloudns): fix grep when record start with hyphen symbol 2 years ago
I Komang Suryadana bda454fe9c
Remove cloud domain record with cloud master zone. (#3507) 3 years ago
Viktor Szépe fe4111a9f5
Fix SC2236 5 years ago
Boyan Peychev 28355335f8 Update dns api to support v2 wildcard cert #1261 7 years ago
Boyan Peychev 9f6832d636 Update dns api to support v2 wildcard cert #1261 7 years ago
Boyan Peychev 5309afc347 Update dns api to support v2 wildcard cert #1261 7 years ago
Boyan Peychev 41e3ecad46 Update dns api to support v2 wildcard cert #1261 7 years ago
Daniel Lo Nigro bab4f691c5 Fix lint warning 7 years ago
Daniel Lo Nigro 212d0f24d8 [cloudns] Add support for sub user IDs 7 years ago
sahsanu c73c33f94c Update dns_cloudns.sh 7 years ago
sahsanu 6c7da215e7 Update dns_cloudns.sh 7 years ago
sahsanu 754a4a7c8b Update dns_cloudns.sh
Added code to save CLOUDNS_AUTH_ID and CLOUDNS_AUTH_PASSWORD on account.conf file so the id and password for cloudns can be reused.
7 years ago
boyanpeychev 5ffca2d138 Update cotnact details 8 years ago
boyanpeychev 136d1b04b5 some additional fixes and removed awk 8 years ago
boyanpeychev f063dd195e some additional fixes and removed awk 8 years ago
boyanpeychev be972fc0b5 fixes for the comments in #723 8 years ago
boyanpeychev ac11ba3d60 Add DNS API for ClouDNS 8 years ago
boyanpeychev 3d8598654c Add DNS API for ClouDNS 8 years ago
boyanpeychev 55a5da2102 Add DNS API for ClouDNS 8 years ago
boyanpeychev f881d6c44f Add DNS API for ClouDNS 8 years ago
boyanpeychev 5df2ca3ef3 Add DNS API for ClouDNS 8 years ago
boyanpeychev a15f87ae39 Add DNS API for ClouDNS 8 years ago
boyanpeychev 0dd6377fe6 Add DNS API for ClouDNS 8 years ago
boyanpeychev c7257e0a3c Add DNS API for ClouDNS 8 years ago
boyanpeychev 3b7fbcd0c3 Add DNS API support for ClouDNS 8 years ago