Commit Graph

13 Commits

Author SHA1 Message Date
neil
7362e8de4d fix format 2024-10-13 17:41:22 +02:00
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>
2024-05-18 12:06:41 +03:00
Simon Wydooghe
ebc90f6ab8
Set NS1 DNS record TTL to 0
Default of a zone might be high, which is annoying when testing
with the ACME staging API. I think setting the TTL to 0 makes sense
as acme.sh is the only one checking this, so having an always up
to date response seems desirable.
2019-02-06 21:49:17 +01:00
nytral
b00919c692 various fixes 2018-02-17 15:08:13 +01:00
neilpang
a20707cd73 fix format 2017-05-08 22:57:23 +08:00
neilpang
5da1d3b73b minor fix format 2017-05-08 22:55:21 +08:00
nytral
dff641a665 I can do it... just discovered vmdiff 2017-05-08 16:07:45 +02:00
nytral
47a25cc3e8 Merge github.com:justmwa/acme.sh
Conflicts:
	dnsapi/README.md
	dnsapi/dns_nsone.sh
2017-05-08 16:02:31 +02:00
nytral
5e3a5f627a last but not least 2017-05-08 15:51:01 +02:00
nytral
1e5e03cc46 typo... 2017-03-08 22:22:48 +01:00
nytral
d3c4cd8270 bugfix 2017-03-08 22:21:25 +01:00
nytral
17361df66b cleanup 2017-03-08 22:15:07 +01:00
nytral
7d0452c7e3 added NS1. support 2017-03-08 22:12:37 +01:00