Commit Graph

56 Commits (276e089419592eabe1f188fdb53d161ab835cf70)

Author SHA1 Message Date
neil 7362e8de4d fix format 4 months ago
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
neilpang 6ccf617d62 clear CF_Zone_ID 3 years ago
neil 2c2a43e1ec Update dns_cf.sh
if CF_Zone_ID is used,  save it to domain conf instead.
3 years ago
neil 58c2c70146 fix https://github.com/acmesh-official/acme.sh/issues/2888 5 years ago
neil ad9f488df6 fix https://github.com/acmesh-official/acme.sh/issues/2888 5 years ago
neil b19799bc72 fix https://github.com/acmesh-official/acme.sh/issues/2888 5 years ago
neil 1209b9b86e fix https://github.com/acmesh-official/acme.sh/issues/2888 5 years ago
neil da957a3caf fix https://github.com/acmesh-official/acme.sh/issues/2888 5 years ago
Scott Wiersdorf 52a16c917f show response when unable to retrieve DNS records for a zone 5 years ago
netpok 34cebe8c0c
Fix invalid domain error on dns_cf update
When dns_cf used with Zone ID it fails on removal of the entry.

This pull request adds the missing CF_Zone_ID loading.
5 years ago
Arthur Wiebe d43227ede4
fix shellcheck issues 5 years ago
Arthur Wiebe 719b690451
add support for using a Zone ID 5 years ago
neil 55dea4ee9d
sync (#2404)
* support jdcloud.com

* fix format

* ttl 3000

* Escape slashes (#2375)

* Change 1.1.1.1 to 1.0.0.1 to probe compatibility (#2330)

As we can see, 1.1.1.1 is not routed or routed to an Intranet devices due to historical reason. Change 1.1.1.1 to 1.0.0.1 will have a better compatibility. I found this problem on my Tencent Cloud server.

* check empty id

* fix error

* Add dnsapi for Vultr (#2370)

* Add Vultr dns api

* PushOver notifications (#2325)

* PushOver notifications, using AppToken, UserKey, and optional sounds

* fix errors

* added dns api support for hexonet (#1776)

* update

* minor

* support new Cloudflare Token format
fix https://github.com/Neilpang/acme.sh/issues/2398

* fix wildcard domain name

* add more info

* fix https://github.com/Neilpang/acme.sh/issues/2377

* fix format

* fix format
6 years ago
neilpang 11ecbd27be fix punycode domain 6 years ago
neilpang e46b392a8d Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 6 years ago
neilpang 47ff768b70 fix https://github.com/Neilpang/acme.sh/issues/2195 6 years ago
neil 68428a5d5e
Merge pull request #2205 from kirpichiki/dns_cf_invalid_domain
CloudFlare dns invalid domain
6 years ago
Gorbachev 6e917d156c
Trim double quotes for email and key
Currently dns_cf generates headers like this: 'X-Auth-Email: "sample@mail.com"'. Cloudflare API responses 400 BadRequest for quoted headers with message "Invalid format for X-Auth-Email header".
6 years ago
neilpang c2d0d4d28c root domain as dns alias mode 6 years ago
hebbet 68d9aad3a2
add link to profile of Cloudflare
follow-up for #1893
6 years ago
neilpang 7ba9a5972d revert fix for https://github.com/Neilpang/acme.sh/issues/1941
1. fix https://github.com/Neilpang/acme.sh/issues/1977
2. The cache is too long to as a line to save in the conf
6 years ago
Ketil 2671af13cd Bugfix for allowing '+' character in CloudFlare email 6 years ago
neil a43545c6ea fix https://github.com/Neilpang/acme.sh/issues/1959 6 years ago
neilpang 598becf619 minor, fix format 6 years ago
neilpang 7917aa2a7c fix https://github.com/Neilpang/acme.sh/issues/1941
cache dns zones response
6 years ago
Rid 6b26d2b62d Fixed grammatical errors 7 years ago
neilpang 506c41cb15 fix format 7 years ago
neilpang 72f54ca6c1 support ACME v2 wildcard cert 7 years ago
neilpang cd98951001 fix https://github.com/Neilpang/acme.sh/issues/794#issuecomment-294314606 8 years ago
neilpang eb0fc67461 fix format 8 years ago
neilpang fcdf41ba29 support change account conf from env 8 years ago
Bastian Bittorf 3ca93f4a4c shellcheck: fix several occurences of SC2034
message:
SC2034: $VARNAME appears unused. Verify it or export it.

most of these are related to the style:
we generate global vars, which are used in other functions.

the var "lexical_url" was really unused (left it as comment)

the travis-check now does not need anymore special flags.

Signed-off-by: Bastian Bittorf <bb@npl.de>
8 years ago
neilpang 15af89d51c fix https://github.com/Neilpang/acme.sh/issues/490 8 years ago
klemens 329174b6d9 spelling fixes 8 years ago
neilpang 122cc48c29 minor 8 years ago
neilpang c7c57cfa0e fix for solaris 8 years ago
neilpang c0d0100ca8 fix format 8 years ago
neilpang 21f201e371 support cloudflare rm function 8 years ago
neilpang ab45b7783f fix format 8 years ago
neilpang 4a56b2406b fix check email 8 years ago
neilpang 797cbb9b20 fix shellcheck warnings 8 years ago
neilpang e440223b40 fix shellcheck warnings 8 years ago
neilpang c7b16249b8 fix shellcheck warnings 8 years ago
neilpang 4c2a384159 Add shfmt to format source code 8 years ago
neilpang 5d6fd8099f add dns_xxx_rm function
https://github.com/Neilpang/acme.sh/issues/79
8 years ago
neil ef858ef062 use head -n 8 years ago
neil cfdaff5a46 fix cf 8 years ago
neil 22ea4004e1 Support SunOS/Solaris (#260)
Support SunOS/Solaris 

* Support Solaris

* Support SunOS/Open Solaris
9 years ago
raunsbaekdk 8d5618c44a Bash does not support double equal sign (#192)
use single equal sign '=' instead.
9 years ago