Commit Graph

1356 Commits (f49e8ec5adb392f5abf1b7f60039cc80eac3f8f8)

Author SHA1 Message Date
linux-insideDE 3cd5b9ca2e
added netcup dns api
linux-insideDE e9782c3219
Create dns_netcup.sh
neil d9db90752e
Merge pull request from par-pa/support-tele3
Support tele3
neilpang 681e3785ef add dns alias mode
Vlad Roskov f85348ba94 fix delete multiple records
Vlad Roskov 2f15ad4be0 fix authentication
Vlad Roskov f254bb39a5 bail out on no access
Vlad Roskov c58465d630 fix comparison on empty var
Kordian Bruck 03a1386902
Update serial also when deleting the token
Roman Bližík 70b56eb527 remove whitespace
Roman Bližík 4e05062def add tele3-dns plugin
Kordian Bruck 676402d918
Increase serial when adding txt records
Grant Millar e36fbd6af5
Fix DNSimple when zone has > 100 records
The _get_records function currently returns the first 100 records. As our TXT is added most recently, if you have > 100 records it will not be returned.

I've changed the function to sort by ID DESC, so it will always return the latest 100 records.
neil f8526f027c fix https://github.com/Neilpang/acme.sh/issues/1539
neilpang 98a7e72f0a fix https://github.com/Neilpang/acme.sh/issues/1512#issuecomment-381121303
Jan-Otto Kröpke 63f3283591 Add Support for inwx mobile tan
neil d0d10bc6e7
Merge pull request from AlexeyStolyarov/master
#issue with nsupdate on Ubuntu 14.04.1 LTS
AlexeyStolyarov 75b9c39b0e
Update dns_nsupdate.sh
AlexeyStolyarov 5957a1068f
Update dns_nsupdate.sh
AlexeyStolyarov ed817c81de
#issue with nsupdate on Ubuntu 14.04.1 LTS
on  Ubuntu 14.04.1 LTS if nsupdate runs without port number given it treated argument following server name as port number.
and throws error: 
```
port 'update' is not numeric
syntax error
```
Wolfgang Ebner dd72f7638d add acme-dns plugin
martgras 792f3775ce Fixes dns_he Issue
username / password has to be urlencoded
neil 446388e0ba
Merge pull request from ivarmedi/master
Add dns_loopia
neil e1628bcdd8
Merge pull request from softcat/dev
Fixed DNSAPI for PowerDNS to support wildcard certificates
neil 6d5874fc45
Merge pull request from martgras/patch-3
dns_azure  add support for validation record at domain apex
neil 3d563dea87
Merge pull request from adrum/patch-1
Fixed Dreamhost ENV var name in dnsapi/README.md
Ivar Larsson b7d573a4b8 Merge branch 'dev' of github.com:Neilpang/acme.sh
Habetdin 98e15f658e
Update Zilore API description
Ivar Larsson 696d9c6bd3 remove merge chars
Ivar Larsson 50dee5d464 Merge branch 'master' of github.com:Neilpang/acme.sh
Habetdin d1b197e339 Merge branch 'patch-1' into dev
Habetdin ce9c227425
Update README.md
Habetdin e32c2b84ee Revert "Update README #1"
This reverts commit 6b0333e919.
Habetdin 2bc38b2063 Revert "Update README.md"
This reverts commit b4f4c28871.
Habetdin b4f4c28871
Update README.md
Habetdin b14ef537e1
head => _head_n
neil 84ac386481
Merge pull request from james-gibson/remove-line-wraps-on-basic-auth
Disable line wrapping on base64 conversion to prevent auth failure
neil 795764f22f
Merge pull request from kinghost/master
Add dns_kinghost.sh
Felipe Braz 986f61ac92 deleted wrog file
neil 09576f2f4f
Merge pull request from martgras/patch-2
dns_he - proposed fix for 
Habetdin fde971fe81
Fix formatting
Habetdin 6b0333e919
Update README
Habetdin 914808b867
Adding Zilore API support
Felipe Braz 2d1d512d0f removed redundant api call
Felipe Braz 37bc099d39 removed redundant api call
martgras 9e3c931b34 dns_azure add support for validation record at domain apex
Prevent the issue described in 
Fix [SC1117] Backslash is literal in "\[".
Felipe Braz f8fb0e67b4 fix dnsapi/dns_kinghost.sh with shfmt utility
Felipe Braz 86ef6e6987 fixes on dnsapi/dns_kinghost.sh and dnsapi/README.md
Felipe Braz e8fd373e6c removed blank space at ending of dnsapi/dns_kinghost.sh
Felipe Braz 4d2a0697ed fix identation dnsapi/dns_kinghost.sh
Chris 30283282d2
Fixing code style according to Travis
Chris 7588fc0989
Fixes DNSimple for Wildcard certificates
martgras fe843bc466
dns_he - proposed fix for
if you have more than one zone of a domain (e.g.  example.com and subdomain.example.com) _find_zone fails. 
This fix removes partials matches.
Austin Drummond 5b355c6ca7
Fixed Dreamhost ENV var name in dnsapi/README.md
Nils Sandmann a3f7ff90e3
Used e_grep_o instead grep -Po, dns_pdns_rm() now deletes only entry with matching txt value
James Gibson 9c88971bc1 Use internal base64 util instead of PATH bin/
Felipe Braz e80ca4ddbc Merge branch 'dev' of github.com:Neilpang/acme.sh
neil 28ccad28c2
Merge pull request from james-gibson/patch-1
Clarified the language around the Name.com steps
James Gibson ba9e7fbf64 Clarified the language around the Name.com steps
Name.com has simplified the process to obtain API tokens, this clarifies the language around requesting a key.
pyriand3r fbd8ab47ea
only reseller can use do.de's reseller interface
Nils Sandmann 893917a25d
Fix travis errors
Nils Sandmann af5ff2bb93
Modified DNSAPI for PowerDNS to support wildcard certificates
Ivar Larsson 8995d3434f _contains instead of echo
Ivar Larsson 5f9b0675e2 loopia -> loopia.se
Felipe Braz aa9975ad0d dns_kinghost.sh :: changed printf to echo
Felipe Braz 6787c81abe renamed KINGHOST_username => KINGHOST_Username
Felipe Braz 72205176e1 Merge branch 'dev' of github.com:Neilpang/acme.sh
Felipe Braz 480742cc15 Merge branch 'master' of github.com:Neilpang/acme.sh
Felipe Braz 48bdfa2377 added doc header to dns_kinghost.sh
Felipe Braz 2ff6f4d3cf updated docs for dns_kinghost api usage
Felipe Braz ae32938531 added dnsapi/dns_kinghost.sh
Chris Gårdenberg 912bcf9487
Fixed HTTPS-url with regard to
Ivar Larsson 413f071861 use echo
neilpang 32d8f349c9 add debug info
neil 3910495cce
Merge pull request from rafaelgieschke/pdns-root
dns_pdns.sh: Allow "." as root zone
Martin Kammerlander cb4a2cf029 remove debug output
Martin Kammerlander 26b5180bf7 Rename full_domain and txt_value variables.
Martin Kammerlander 11bfb1e5fd Fix return values of some functions.
Martin Kammerlander e431df06ab Only create entry. Remove update.
Martin Kammerlander cbf0ceacd5 Update dnsapi Readme.
Martin Kammerlander 8c634d8323 Merge branch 'dev' into all-inkl-kasserver-dns-script
Rafael Gieschke 4ae108009c dns_pdns.sh: Allow "." as root zone
neil 8cd3086be0
Merge pull request from martgras/dev
Fix missing success return value from dns_azure_add/rm
neil dd37ae26a5
Merge pull request from Rid/dev
Fixed grammatical errors in CF api
neil 47eb913c22
Merge pull request from maomihz/dev
Fix problem that digitalocean api failed to remove record
Ivar Larsson 7a46293f7a loopia documentation
Rid 6b26d2b62d Fixed grammatical errors
Ivar Larsson cac3b3ea35 add dns_loopia
martgras 224e0c298a Fix missing success return value from dns_azure_add/rm
David Kerr 62dd3a5380 Fix Travis CI errors.
David Kerr e3ddb677e1 Adding support for API v2 (multiple TXT records)
Martin Kammerlander 32d7bd5ab1 Add own github repository URL.
Martin Kammerlander 861df49670 Add All-inkl kasserver script.
neil 20e51f0b4d
Merge pull request from TigerP/master
Add support for DirectAdmin
neil fd56fe6eb2
Merge pull request from raidenii/master
New DNS plugin for name.com for new API.
neil ae8f9561ad
Merge pull request from skid9000/patch-1
Fix the command to generate tsig key for knot api
raidenii 3052ba433a Fix an obvious stupidity.
raidenii 508012342d Make sure the removal of DNS record is the desired one (i.e., by txtvalue)
raidenii 9fa207e613 Move code to fit DNS API dev guide.
TigerP e8d808d708 Remove empty line at the end
TigerP 399d6592b8 Fix some quotes and a check
raidenii 628a6ffa07 Tried to fix some weird problems
raidenii 3e1a94cbcd Yet another fix.
raidenii a6c2d4b0e2 Another fix.
raidenii 19277aec87 Use printf instead of echo, hopefully fix SC2039.
TigerP 14c2755436 Add support for DirectAdmin
raidenii 50a9145386 Rewrote to adapt the new name.com v4 API.
neilpang 2d1e9abb60 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev
neilpang d064260bf1 fix https://github.com/Neilpang/acme.sh/issues/1315
neil a19ad3fd1d
Merge pull request from justmwa/master
DNSMadeEasy ACMEv2 support
nytral 3bc59a0327 first attempt to fix CI errors
nytral 5a883889a2 fixes
nytral 6baa6d488b Merge remote-tracking branch 'upstream/master'
nytral e26f9b8095 DNSMadeEasy ACMEv2 support
neil f92fae7625
Merge pull request from ClouDNS/master
Update dns api to support v2 wildcard cert 
neil 3d0e269241
Merge pull request from martgras/dev
Azure DNS API- support for ACME v2
martgras 83b1a98db1 Azure DNS API - support for ACME v2 and reliability improvments
support adding 2 txt records
Adding retry logic for REST API calls
Reusing bearer token removes 50% of required REST calls
Mal Graty f49f55f4a5 Pull AWS creds from container role
Extend the AWS DNS API driver to support ECS container metadata by using
the special environment variable ECS sets in containers.
neil 22d827adf1
Merge pull request from mal/aws-use-instance-role
Let AWS DNS API driver pull creds from instance metadata
Mal Graty 759f4f2c62 Make the instance metadata fetcher self-contained
This is to provide a clean path to future extension work such as adding
a _use_container_role function to offer similar support for ECS
containers.

The $_using_role flag has also been made generic so that future role
providers can also make use of it.
Boyan Peychev 28355335f8 Update dns api to support v2 wildcard cert
Boyan Peychev 9f6832d636 Update dns api to support v2 wildcard cert
Boyan Peychev 5309afc347 Update dns api to support v2 wildcard cert
Mal Graty 693627a858 Emulate Boto when using role metadata
Use the behavior established in the botocore python library to inform
how and when instance metadata is fetched in an attempt to acquire valid
AWS credentials.

- Use it as a fallback when no other credentials are provided
- Set the timeout of metadata requests to 1 second
Mal Graty 48eaa0e5bf Let AWS DNS API code pull creds from instance role
Add option (AWS_USE_INSTANCE_ROLE) to have the AWS DNS API driver pull
the necessary credentials from the AWS EC2 instance metadata endpoint
when required.

This is a non-breaking change as it only takes effect when explicitly
turned on via the environment variable, and fails safe back to the
normal code path.
Boyan Peychev 41e3ecad46 Update dns api to support v2 wildcard cert
neilpang d6f8d63742 fix https://github.com/Neilpang/acme.sh/issues/1286
neil 28b0929554
Merge pull request from justmwa/master
Fixes
nytral 55787ff7b9 other fixes
nytral b00919c692 various fixes
neilpang 6d6b2efdb5 fix he for solaris
neilpang abd0dad2bf fix https://github.com/Neilpang/acme.sh/issues/1145#issuecomment-365863118
neilpang 54a52f7048 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev
neilpang f213215c81 fix lua
neil 96cde120b4
Merge pull request from wickerwaka/dreamhost_dns
Added DreamHost DNS API
neilpang 0096ef4ddb fix ali
neilpang ce6c7d4b59 fix dp
neilpang d8eb08e214 fix format
neilpang c6f5c7f1a3 fix gd
neilpang a6b6e31cda fix dp
neilpang 28145a9deb fix ovh
neilpang fa991c8501 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev
neilpang 5f345d2089 fix https://github.com/Neilpang/acme.sh/issues/1262
neil cc81668c8f
Merge pull request from Daniel15/cloudns-sub
[cloudns] Add support for sub user IDs
Martin Donlon 6105d4a4e6
Merge branch 'dev' into dreamhost_dns
Martin Donlon 84649e9d20 Addressing PR feedback
Replace printf with echo
Move dreamhost to bottom of DNS API list
neilpang 3c394f08b0 fix format
neilpang 64f07d9bf3 fix aws for acme v2
neilpang 849a6c12be fix for acme v2
neilpang 9144ce746e fix for v2 wildcard
neilpang 2655e726c9 update dns he
Martin Donlon 2ef9904d00
Merge branch 'dev' into dreamhost_dns
Martin Donlon 2c83224f07 Fixup dns_dreamhost travis failures
neilpang 0c63090a23 fix format
neilpang 0159277dbf fix format
neilpang 6ca5f3d8f6 support Zonomi.com dns api: https://github.com/Neilpang/acme.sh/issues/1255
neilpang 3e3161c747 fix format
Skid 7f59d7ea48
Fix the command to generate tsig key for knot api
neilpang 52b945164c fix https://github.com/Neilpang/acme.sh/issues/1247
neilpang 584fb2904b fix https://github.com/Neilpang/acme.sh/issues/1191
https://github.com/Neilpang/acme.sh/issues/1246
neilpang eea713eed2 Merge branch 'dev' into 2
neilpang 8c88757451 fix format
neilpang dd171ca44a fix format
martgras 72fe7396d6
spelling mistake in error message
neilpang 03140865f0 fix for existing record
neilpang a4fc802d1b Add selectel.com(selectel.ru) DNS API. fix https://github.com/Neilpang/acme.sh/issues/1220
neil e4b24d20ac
Update dns_azure.sh
neil 91607bb2a1
Update dns_azure.sh
martgras 441c26dd32
Update dns_azure.sh
martgras c7b8debb6e
fix travis issues
martgras d51c383866
remove unused code and fix error handling
martgras f7d4698ef0
improve error checking
martgras 3fdbbafcb5
fix getroot with multiple dns zones
martgras c82cd90ed6
Relative link to Azure DNS wiki page
martgras b6fc8398cf
Usage instructions for Azure DNS
martgras e90f3b84c1
Add support for Azure DNS
Adding support for Azure DNS 
See https://docs.microsoft.com/en-us/azure/dns/
neilpang 258cf20c92 minor
neilpang 6ba4f8b54c fix https://github.com/Neilpang/acme.sh/issues/1204
MaomiHz c1f8ffa386 Use [0-9] instead
neilpang 60814ecfe1 typo
neilpang 0170c20e9a fix format
neilpang 01cc2e13d8 add more sleep for ovh
neilpang f823f170e6 fix ovh
neilpang be186bd39b support dns_ovh_rm()
neilpang ea25492c28 we should not use "updating" to support wildcard
neilpang 506c41cb15 fix format
neilpang 72f54ca6c1 support ACME v2 wildcard cert
AA a01da2fd92
Update README.md
AA cd2fe698bb
Create dns_autodns.sh
Meowthink eb207322d3 Add namesilo.com dns api support
sjau a582e7c2fb dns_ispconfig.sh: remove unnecessary permission in api user
MaomiHz 9c4f7aa688 check for env var exist in DigitalOcean API
MaomiHz e75b56073b Fix digitalocean api not remove record
Jens a95ccc7e4c
Update dns_servercow.sh
... didn't see this line in spellcheck ... :S
Jens 8101aceab5
Update dns_servercow.sh
fixed remaining issues from shellcheck
Jens 1c9b19833c
Update dns_servercow.sh
replaced tab with space
Jens Hartlep ae29929714 added dns api for servercow
speedmann f7c346de09 Fix order in README and add link to inwx.de and apidocs
speedmann 731ed6952f Fix shebang
speedmann 454ad6f8bd
Merge branch 'dev' into master
Aarup fb6e0658cf update README
Aarup f9b8d7a9d8 renamed uno_user and uno_key
Aarup f763e1edd7 fix contains usage
Aarup dbc3ad1304 use _math
Aarup 3f1e6c128f Try again
Aarup 1f635b90e7 Try to fix build
JAA db3043553c Also don't use sed
speedmann 5911594906 Fix egrep invocation
speedmann 9a1f769828 Avoid usage of `sed -E` `grep -q` and `printf -v`
JAA b91c0a0616 Don't use grep -B
JAA 4a9f607d31 Cleanup
speedmann a00169451f Change bash to sh to fit project requirements
speedmann ecba959dd9 Fix missed whitespaces
speedmann a8202d4b37 Fix CI issues
speedmann 657334fb67 Add support for inwx.de API
Aarup 78712245f7 Add UnoEuro to README
Aarup 70702e41e9 Use _head_n
Aarup 0ca3141088 Added support for UnoEuro api
neilpang dcf8457f4d fix format
neilpang ceafe389af fix https://github.com/Neilpang/acme.sh/issues/1109
Daniel Lo Nigro bab4f691c5 Fix lint warning
Daniel Lo Nigro 212d0f24d8 [cloudns] Add support for sub user IDs
neilpang 4c99c0127b add dev guide
neilpang 872bfe4757 fix for PR https://github.com/Neilpang/acme.sh/pull/1069
sahsanu ee56b9cd4e Update ClouDNS.net API doc
Update ClouDNS.net API doc to show that CLOUDNS_AUTH_ID and CLOUDNS_AUTH_PASSWORD will be saved in ~/.acme.sh/account.conf
sahsanu c73c33f94c Update dns_cloudns.sh
sahsanu 6c7da215e7 Update dns_cloudns.sh
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.
Arthur Gautier 856811bd2e Use stable gandi API url
The gandi api has changed its url for a more stable
one. Although https://dns.beta.gandi.net will continue to 
work for the foreseable future, this commits updates the
url to new official one.
fritteli 88bb7b780d Typos
Lonnie Abelbeck 96801e3478 Update DuckDNS support, fix failure on first call, no longer save the domain/username as a global, and other tweaks
neilpang 5c3b41bd93 format
neil 57740fbd18 Merge pull request from jfro/dev
Fix Linode DNS API to work on BSD
Jeremy Knope c145f24621 Remove extra space
Jeremy Knope cd3a4573f2 Fix shell check errors
Ondrej Simek 4dd69a8b1a Exit codes, exit codes... Exit codes everywhere...
Ondrej Simek baa1160594 Make Shellcheck happier about exit codes
Ondrej Simek f438ff4bab Fix an improbable corner case.
Ondrej Simek a25b2af66c Get rid of _find_num
Ondrej Simek 31b67ab92e Few non-critical fixes.
Ondrej Simek ccf9a9976c Fix the previous rushed commit.
Jeremy Knope ab1efd923b back to sed
Ondrej Simek d6780f9e49 Retain an exit code
Ondrej Simek 8534e3b2f7 Make shellcheck happier
Jeremy Knope 8e6cf669ad Try awk instead for \n replacements
Ondrej Simek 577380e98e Few fixes for shellcheck
Ondrej Simek 235b5b0c15 Small cosmetic fixes.
Ondrej Simek aefed1d1b9 Get rid of shell arrays.
Jeremy Knope d39649f30d Revert non-linode scripts since they're untested
Ondrej Simek 1546b7e5a9 Missing quotes
Ondrej Simek ff74778dea Fix few issues from Travis
Jeremy Knope 29b21b828b Fix DNS API scripts on *BSD
\n isn't available in all regex/sed
Ondrej Simek f7299403f7 Incorporate Neilpang's comments
Ondrej Simek d988542afc Sync with upstream
Ondrej Simek 4285d81ca9 Get rid of curl.
Vladimir Berezhnoy ae302ee600 reformat docs
Vladimir Berezhnoy 283ef9adb7 minor fixes
Vladimir Berezhnoy 377fe5ecde add documentation
Vladimir Berezhnoy c848d3ee22 fix formatting
Vladimir Berezhnoy eb6be88fac rework root domain detection
Vladimir Berezhnoy fceb728501 fix egrep and exit
Vladimir Berezhnoy a0df46258d remove python
Vladimir Berezhnoy 57d1db58db shfmt fixes
Vladimir Berezhnoy d61b687853 remove awk
Vladimir Berezhnoy 42ab7a5d72 add newline and checks
Vladimir Berezhnoy 18cb11dcbf fix formatting
Vladimir Berezhnoy e9d5407792 fix syntax
Vladimir Berezhnoy a09b2c0074 fix syntax
Vladimir Berezhnoy a460ac021f add pdd.yandex.ru dns api
Ondrej Simek 7d64e141e4 Add dns_he - DNS API script for Hurricane Electric DNS service
... Although not yet fully Posix compatible.
Lonnie Abelbeck 42b2adc03e Add 'dns_dyn' DNS challenge validation script for Dyn Managed DNS API
dns_dyn.sh, remove empty line at end

dns_dyn.sh, remove trailing spaces at end of line

Replace 'head -n' with the '_head_n' function

Update main README.md DNS API list
RaidenII 7b32bbfc26 Fix for SC2086.
RaidenII 6963f3880d Fixes the get_root function so that when domain doesn't exist it will correctly return error.
RaidenII 333090a967 Fix README.md for DNS API.
RaidenII 3002f6dfd5 Updated README.md for Name.com API application.
RaidenII 1a504118e5 Updated DNS API support list.
RaidenII 2e602ef6b0 Added ret value verification.
RaidenII 9aed1e2d17 Argh. Double quotes.
RaidenII 63c6ed3fd0 Fixes to follow coding standards.
RaidenII 17fbfd14db Minor fixes.
RaidenII d0f5aece5f Fix SC2170.
RaidenII eeda3062e1 Fix against POSIX standard.
RaidenII 168d712dec Fixed URL of Name.com API and removed useless debug for retcode.
RaidenII e64ad5176e Added Name.com API support.
Minor change to DuckDNS API support.
RaidenII e7dff4756f Using HTTPS for DuckDNS API and added instruction.
RaidenII fa98d72f3a Added preliminary support for DuckDNS TXT record API, a free Dynamic DNS provider
neil 6c4f33910c Merge pull request from hajhatten/master
Added views to infoblox dnsapi script
Rikard Gynnerstedt 0a301cdd21 added new line at the end of the file
Rikard Gynnerstedt b73f5a4e94 missed one egrep command
Rikard Gynnerstedt 3b74ac841e save Infoblox_View to account config
neilpang eef4acd07d fix https://github.com/Neilpang/acme.sh/issues/874
Rikard Gynnerstedt b6f00ea241 changed path to env
Rikard Gynnerstedt 0bd4a4f98f formated for sh instead of bash
Rikard Gynnerstedt 0b52645bb6 added view variable to infoblox integration script
neil e85deb54e1 Merge pull request from feld/patch-1
Update README.md
Mark Felder 7eea9533e8 Update README.md
Fix usage documentation for dns_nsupdate. The NSUPDATE_KEY env needs to be a path to a file.
Jean-Tiare Le Bigot 486e77f474 Support OVH credentials scoped to a specific zone
When creating OVH API credentials, one can scope them to a specific subset of routes. Specifically, this allows to limit acme.sh to a specific zone as the zone is part of the URL. This is an important security/safety net feature.
neil d61ef6b49a gandi dns api updated.
neilpang a20707cd73 fix format
neilpang 5da1d3b73b minor fix format
nytral dff641a665 I can do it... just discovered vmdiff
nytral 47a25cc3e8 Merge github.com:justmwa/acme.sh
Conflicts:
	dnsapi/README.md
	dnsapi/dns_nsone.sh
nytral 5e3a5f627a last but not least
justmwa 9201e0a5b9 Merge branch 'dev' into master
wizard1024 cc1d3b20b6 Update dns_aws.sh to work only with public zones
neil 347dab0c14 Merge pull request from pho3nixf1re/dnsimple
include dnsimple api
Matthew Turney 5332387125
Use _post to send a DELETE request for DNSimple record removal.
Matthew Turney 2f4111a2e2
fixup shellcheck style issues
Matthew Turney 326ac485b3
link to repo for dnsimple integration support
Matthew Turney f9b419d1e4
cleanup dns in dnsimple api integration
Implement the `_rm()` method for the DNSimple integration. This also
required some changes and cleanup to DRY up the code.
Matthew Turney 2b09253961
link to contributor repo for support issues relating to the dnsimple API integration
Matthew Turney 1994c6828e
include dnsimple api
Even though DNSimple is technically covered with lexicon not all
systems can install python pip's easily. For these systems it is useful
to have pure shell script API interactions.
ka2er f5c381d5b4 less permissive permission on OVH API
restrict authorization request to OVH /domain API and not whole OVH API.
Not perfect due to some limitations in regex with *, but better security as the token don't give full access to the API.
shar0119 2310a9bbc0 Removed grep -Po
Removed usage of grep -Po.
shar0119 90c70fa5bf Merge branch 'dev' into patch-3
shar0119 a6e5876d96 Resolved conflict.
Resolved conflict.
neil 937e723036 Merge pull request from shar0119/patch-1
Create dns_dynu.sh
neil 4e2426a2b4 Merge pull request from LAV45/dev
small Fix readme [skip ci]
Aleksey Loban 020f9cd2a6 small Fix readme [skip ci]
neil cebc5bf9fc Merge pull request from LAV45/dev
Add dns_vscale.sh
Aleksey Loban dbe68684a0 Fix readme 'Use VSCALE API' [skip ci]
LAV45 27a05ff271 Add dns_vscale.sh
neil 3c07f57aad minor remove spaces
neilpang cd98951001 fix https://github.com/Neilpang/acme.sh/issues/794#issuecomment-294314606
shar0119 8470c60e06 Using _egrep_o() instead of grep -o -e
Modified code to use egrep instead of grep -o -e.
shar0119 394b1002b3 Corrected formatting error.
Part of dns_dynu_rm() impementation.
shar0119 9a61d6293d Implemented dns_dynu_rm()
Implemented dns_dynu_rm() method.
neilpang eb0fc67461 fix format
neilpang fcdf41ba29 support change account conf from env
neilpang f7217c5f26 fix format
neilpang fd77e463a1 fix aws
shar0119 6d7f6750e9 Updated author name and link to report bugs
shar0119 695482ded7 Added author name and link to report bugs
neilpang fc9649dbc4 fix aws
shar0119 afb67d375f Updated README.md (2 of 2)
neilpang 1f4e64f81d Truncated request for more than 100 domains.
shar0119 e137792efd Commented out Dynu_ClientId and Dynu_Secret
shar0119 b7b934913e Removed unnecessary spaces
shar0119 cd8fcbf9c6 Spaces in assignment removed.
shar0119 d0300d4443 Changes as requested per Commit 9c90b21
In dnsapi/dns_dynu.sh line 115:
  export _H1="Authorization: Basic $(printf "%s" "$Dynu_ClientId:$Dynu_Secret" | _base64)"
         ^-- SC2155: Declare and assign separately to avoid masking return values.
Josh Soref 7f32488b78 spelling: subdomain
Josh Soref f3c984281c spelling: specified
Josh Soref 00777a10ae spelling: security
Josh Soref 0d6ce9f977 spelling: satisfy
Josh Soref 997c517ba2 spelling: return
Josh Soref 849bed4bef spelling: requires
Josh Soref d39b108274 spelling: function
Josh Soref 39f3239682 spelling: following
Josh Soref 506f36b26d spelling: embedded
Josh Soref 9b2aa974ba spelling: changed
Josh Soref 291c97dc81 spelling: challenge
Josh Soref 3d22708f67 spelling: automatically
Josh Soref 8afd31902f spelling: application
Jason 1424e8a2de Added attribution
Jason 7dc548b4b8 MORE bs
Jason 2c37d94611 More bs
Jason b1e4a7c615 Fixed (hopefully) TravisCI errors
Jason b0561058c6 Infoblox API
Jason d039295070 Added Infoblox references
shar0119 5c78e0a462 removed source acme.sh
neil 7479706b29 Merge pull request from ClouDNS/master
Add DNS API support for ClouDNS
shar0119 7044236824 Create dns_dynu.sh
Add DNS API support for Dynu.
boyanpeychev 3e9478b58d Update README information for ClouDNS
boyanpeychev 5ffca2d138 Update cotnact details
neilpang 819d2bc560 fix for wget. fix https://github.com/Neilpang/acme.sh/issues/724#issuecomment-286761682
boyanpeychev 136d1b04b5 some additional fixes and removed awk
boyanpeychev f063dd195e some additional fixes and removed awk
boyanpeychev be972fc0b5 fixes for the comments in
boyanpeychev ac11ba3d60 Add DNS API for ClouDNS
boyanpeychev 3d8598654c Add DNS API for ClouDNS
boyanpeychev 55a5da2102 Add DNS API for ClouDNS
boyanpeychev f881d6c44f Add DNS API for ClouDNS
boyanpeychev 5df2ca3ef3 Add DNS API for ClouDNS
boyanpeychev a15f87ae39 Add DNS API for ClouDNS
boyanpeychev 0dd6377fe6 Add DNS API for ClouDNS
boyanpeychev c7257e0a3c Add DNS API for ClouDNS
boyanpeychev 3b7fbcd0c3 Add DNS API support for ClouDNS
neilpang 04683338a2 fix cloudxns api https://github.com/Neilpang/acme.sh/issues/717
thewer ac690fceaf Added DigitalOcean (native) API that requires only a read/write API key for DigitalOcean, updated 2 reads files.
nytral 1e5e03cc46 typo...
nytral d3c4cd8270 bugfix
nytral 17361df66b cleanup
nytral 7d0452c7e3 added NS1. support
csmk f589a1d245
Fix format: use double quote to prevent globbing and word splitting
csmk 9c87a5890d
Add support for Knot DNS API
The script is actually an adapted version of the `dns_nsupdate.sh` script,
as the `knsupdate` utility is quite similar to `nsupdate`.
nytral 8d53ec5353 fixed validation, added LUA while I'm at it
nytral a1e1bfc71b removed useless code
nytral 29992f54a3 delete support for dns_me
nytral 4ab6786163 Merge remote-tracking branch 'upstream/master'
neilpang 839f18d052 fix format
neilpang 177b57e1c0 fix wget content on 404 error
neilpang d24a87caf1 minor
neilpang 9683ffe13a minor fix error message
Frederic Crozat fab2d9dc6a add API for Gandi LiveDNS ()
* add API for Gandi LiveDNS

* ensure Gandi API key is saved for renewing certificate.

* gandi_livedns: use PUT instead of POST for creating DNS record

* gandi_livedns: fix formatting

* dns_gandi_livedns: fix shellcheck errors
Stefan Seidel abf4278d09 resolve conflicts
seidler2547 2b2b65fe18 Declare and assign separately to avoid masking return values
Stefan Seidel 3d6a125bdc add documentation
seidler2547 9efd40a366 use export for headers
seidler2547 383fa8401d Remove stray characater
fixes issue where the first listed domain would not work
seidler2547 bf8ffade29 replace head -1, add link to GitHub
seidler2547 1633d14547 forgot dollar sign
seidler2547 e55605dbe9 remove _all_ mktemp
seidler2547 cdec38ba12 return error if any removal failed
seidler2547 1cb6e9e7d0 remove cookiejar file
d'oh
Stefan Seidel d1d2f6f451 avoid temp file for domain list
Stefan Seidel 743f821f1e improve error message on failed authentication
Stefan Seidel b95a99e0c2 remove cookiejar temp file
Stefan Seidel 3ebbeb103c old habits
Stefan Seidel 0d4035e996 remove fgrep, escape regex chars instead
Stefan Seidel 88ed5e506a fix whitespace and UUOC
Stefan Seidel 76a3371b40 remove non-POSIX sed -r and use built-in functions
Stefan Seidel 7b2fa1edb4 add API for www.do.de/www.resellerinterface.de
neil e1c42eb6cc Merge pull request from noplanman/cyon_dns_api
Cyon.ch DNS API
Armando Lüscher a6d2e3a1e6
Suppress shellcheck warnings.
neilpang e6e85b0c55 secure debug message
neilpang db50462920 minor use interactive _sleep
Armando Lüscher 3e1418d662
Use gloo item key for environment change, to support different account types.
(this isn't working 100% yet, still looking for a solution)
Armando Lüscher 884f70fb39
Remove square brackets from ranges.
Export curl header variables.
Armando Lüscher 9499a1142b
Remove custom URL encoding and use library's implementation.
Armando Lüscher 6e8dcdce78
Satisfy shellcheck.
Armando Lüscher ce9fae82bd
Update cookie retrieval using _egrep_o (thanks @Neilpang)
Armando Lüscher afa3fc8bf9
Adapt to use general naming rule for account variables.
Armando Lüscher 09eccf6fc0
Use more flexible version of uppercase to lowercase conversion.
Armando Lüscher edfefb6763
Add usage instructions and repo link to post issues.
Armando Lüscher 98b3dcbf37
Prefix all private functions with `_cyon`.
Satisfy shellcheck.
Armando Lüscher 2698ef6c5f
Return instead of exit.
Clear OTP secret if environment variable is set to empty. This is for when the 2FA is disabled.
Rename `_is_idn` function to `_is_idn_cyon`.
Remove usage of curl (except for URL encoding of data).
Instead of cleaning up the cookie jar, get rid of it completely and logout of cyon instead.
Armando Lüscher 46b2ee3bae
Replace all echos with printf.
Armando Lüscher e7ee3a7dd5
Remove jq completely to not require it as a dependency.
Armando Lüscher 0085e6f83b
Don't use jq to fetch list of DNS entries to be deleted.
Armando Lüscher c90fa3bcfc
Fix problems found by travis.
Armando Lüscher 0ec9b9823f
Add DNS API for cyon.ch
neil c9d7daab70 fix https://github.com/Neilpang/acme.sh/issues/593
neilpang b4325026b1 exe
nytral e82ea94bb6 Merge remote-tracking branch 'upstream/master'
David Kerr 09ed421948 Merge remote-tracking branch 'upstream/master' into FreeDNS
David Kerr 87f5ec5be5 Add Accept-Language:en-US to HTTP header as precaution against future multi-lingual FreeDNS pages.
David Kerr f78b656f5f Add error message if fails to add TXT record for missing security code (probably a FreeDNS public domain)
David Kerr e6b940e247 Minor edits to FreeDNS documentation
David Kerr 50a9680f17 Travis error... remove blank line at end of file.
David Kerr 40e6ba1100 fix heading level to match others.
David Kerr 0aed065a75 Updates to README.md
neilpang 1476a9ecf1 fix format
David Kerr 600a235140 Add FreeDNS plugin
neil aec8307417 Merge pull request from trancee/dev
Added support for Linode DNS API.
neilpang d78ba322bf fix update
neilpang ab5c1b0a3a minor
neilpang 53fa16d39f minor
neilpang 05cf405cb5 minor
neilpang 5d833336d3 minor
neilpang bb6326f4d4 fix for solaris
Philipp Grosswiler c070407ab2 Fixed Travis CI complaining about missing newline at end of file.
neilpang 1c22c2f76a fix for solaris
neilpang 646c0bfcb9 fix for solaris
neilpang bcf96608d1 fix for solaris
Philipp Grosswiler dd17ac5045 Added instructions on how to get the Linode API key.
Philipp Grosswiler 59182dbc97 Removed Linode CLI dependency.
neilpang 542d7977db add new _url_encode
Philipp Grosswiler 38f2334360 Added support for Linode DNS API.
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>
Bastian Bittorf 3b67cf4378 dnsapi/dns_dp.sh: shellcheck: fix 1 occurence of SC2126
shellcheck message was:
"Consider using grep -c instead of grep | wc"
neilpang 671a699472 minor, fix shellcheck warning
Bastian Bittorf 800f02ba38 dnsapi/dns_lexicon.sh: shellcheck: fix 4 occurences of SC2021:
"Don't use [] around ranges in tr, it replaces literal square brackets."

this introduces another warning:
"Use '[:lower:]' to support accents and foreign alphabets."

This is more a style thingy because we really want to only catch A-Z.
work around this by using a shellcheck-directive and a comment
that the [:lower:] will not work with e.g. busybox-ash.

if we later really want to use [:lower:], we should use 'sed' for that.
Kevin Kaland 3cf85634eb Trim potential closing curly brace.
Fixes GH-517.
Karsten Sperling 5415381cf4 Add support for AWS_SESSION_TOKEN and fix bug when multiple hosted zones exist
Paul Koppen 7b4be7be40 Remove spaces from blank lines.
Paul Koppen b90917a529 Improve legibility.
Paul Koppen 180f05f6f0 Add instructions for the Alwaysdata API.
Paul Koppen 831b95f13a Merge suggested improvements.
* Use `_head_n`.
* Add link to GitHub repo for bug reporting.
Paul Koppen 331b599a81 Use _post for DELETE and switch to JSON API (Alwaysdata default).
Paul Koppen e5079b9dad Add Alwaysdata DNS API.
neilpang 15af89d51c fix https://github.com/Neilpang/acme.sh/issues/490
neilpang 8c71bd57e7 fix https://github.com/Neilpang/acme.sh/issues/491
klemens 329174b6d9 spelling fixes
neilpang 2728170c01 add debug info
neilpang 7d1c5fca0b fix for solaris
neilpang 39d1eeda23 fix for solaris
neilpang 122cc48c29 minor
neilpang c7c57cfa0e fix for solaris
neilpang dfbc244b00 support aws remove
neilpang f1f3074306 fix format
neilpang f162ad193f support dnspod remove
neilpang c0d0100ca8 fix format
neilpang 21f201e371 support cloudflare rm function
neilpang df62150b5a Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev
neilpang eea52a5fa6 update api template
Marcello Barnaba c12be766e9 Fix Route53 API consumer
Ignoring the Chthlulu argument 😃, Route53 returns its XML all on one line, making not possible to grep the hosted zone record with egrep/sed.

This change splits the XML in multiple lines, so that parsing can succeed.
kookxiang 8379f015d7
Finish dns_cx_rm() method
neilpang a62706678e fix for solaris
neilpang e4468562d2 fix cx
neilpang 3747b7d930 fix cx
neilpang 5be3f22d06 fix issue
neil c572ce946b Dev ()
* do not use script home

* fix format

* fix issue when there is no one records in the domain.
neilpang d69f0289ca fix issue when there is no one records in the domain.
neil 58bb94d7c7 Update README.md
sjau 5eed02f7e9 Changing shebang back to sh
sjau 983f1f28ca Fixed wrong zone getting JSON and added lots of debug info
sjau 192ede5e64 Added ISPConfig DNS API
neilpang dbd94d047b fix for aliyun api
baiyangliu be39ab32d1 Add DNS API support for aliyun ()
* Add DNS API support for aliyun

* Update README.md

* format

* format

* format

* format...

* format...

* format

* format

* fix bug

* fix bug

* code format

* code format

* fix bug

* just ok...

* fix bug

* fix bug

* fix bug

* change "echo" to "printf"

* fix bug

* code format

* fix bug."head -c" in function _ali_nonce not supported by solaris

* fix bug."head -c" in function _ali_nonce not supported by solaris

* format

* fix bug._ali_nonce not work on solaris

* fix bug. _ali_nonce not work on solaris

* fix bug. _ali_nonce not work on solaris

* add aliyun.com to README.md
neilpang 5b771039fc Support AWS Route53 api
neilpang 2f1bc5864f fix format
neilpang 16d79ebaac fix format
neilpang e009ec8b93 Support AWS Route53 api
neilpang cd79b0343a Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev
neilpang 88a8d7d901 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev
magna-z d5c00071d3 Add functional in method dns_pdns_rm()
neilpang ab45b7783f fix format
neilpang 4a56b2406b fix check email
neil 40a3ae04b6 Merge pull request from Neilpang/dev
Dev
neilpang ac26f84170 fix shfmt
neilpang fa574fe833 fix shfmt
Armando Lüscher d20831e41a
Update DNS API readme
neil 9882f3429a Update README.md
nytral a9b15f1c36 Merge remote-tracking branch 'upstream/master'
Philippe Kueck ce38ecb966
merge with upstream
Philippe Kueck 13ffa17048
add documentation for dns_nsupdate
Philippe Kueck 243593cdaa
fix warnings and remove unused ${tmp} variable
neilpang a8c6111197 fix shellcheck warnings
neilpang 3de8570022 fix shellcheck warnings.
neilpang a0311b0134 fix for shellcheck warnings
neilpang 422e5026d6 fix shellcheck warnings
neilpang 797cbb9b20 fix shellcheck warnings
neilpang e440223b40 fix shellcheck warnings
neilpang 69925ce823 fix shellcheck warnings.
neilpang e9f9f515bd fix shellcheck warnings.
neilpang c7b8f223ee fix for solaris tr
neilpang a0636d5a87 fix shellcheck warnings.
neilpang c7b16249b8 fix shellcheck warnings
nytral 764963e986 sync upstream
neilpang dec90f7e5e format dns_me api
nytral 2ea5b283a8 _hmac use and generic date
nytral eb23549cd6 s/bash/sh/
nytral cd90062850 better bugfix
nytral 3ec72fcee9 bugfix
nytral b9091e14b3 adding DNSMadeEasy API
root 439580b91b apply shfmt to dns_dp api.
neilpang 4c2a384159 Add shfmt to format source code
nytral 22b83d7630 _hmac use and generic date
nytral 0b5bff01e1 s/bash/sh/
nytral 4fe7b6cd65 better bugfix
nytral 49e1f7d8bf bugfix
nytral 803fb243bf adding DNSMadeEasy API
nytral f58e83ee87 READMEs edit
nytral 1d9f76e2c8 working email contact added
nytral 56e0269e5e email contact added
nytral 662df85e54 s/bash/sh/
nytral 2be4a5e486 use _base64
nytral a43d697225 cleanup
nytral f06c1e6c78 luadns bash script
Philippe Kueck 54d61bdc4a
- get rid of bash-only syntax like ${foo:-bar}
- use sh instead of bash
- remove redundant functions _info, _err, _debug and _debug2
- get rid of mktemp, pipe commands directly to nsupdate
Philippe Kueck 0fb206fe15
add nsupdate script for dns-01
neilpang 5d6fd8099f add dns_xxx_rm function
https://github.com/Neilpang/acme.sh/issues/79
Peter Lyons caa2e45a8c use RFC2606 example.com domain in docs ()
https://www.rfc-editor.org/rfc/rfc2606.txt
root 095fe2ed1b minor
neilpang b9311282eb minor fix pdns api
Maxim Zalysin d6f0c2b52b Add support PowerDNS API ()
* Add support PowerDNS API

* Small fixes
neil fdcb6b721c fix for busybox
neil ef858ef062 use head -n
neil cfdaff5a46 fix cf
neil 73ba54a502 Support OVH domain api
neil 690a5e205d Support Ovh domain api ()
* support ovh

* fix success link

* fix OVH issues.

* v2.4.3 Support OVH domain api
neil 22ea4004e1 Support SunOS/Solaris ()
Support SunOS/Solaris 

* Support Solaris

* Support SunOS/Open Solaris
neil d190a43e0a https://github.com/Neilpang/acme.sh/issues/258
Jim Ma fe09757cb3 dns_cx.sh prefix and suffix domain bug fixed
root 0886e67df7 chmod +x
neil 30de13b4df support Godaddy domaain api
Trevor Goodyear 3e99ffe692 Update README.md to fix typo: scrypt -> script
neil d07e8f91c4 Update README.md
neil bf233fbd48 minor
rajcz d65e3d9a6e typos
neil bb276fc985 minor.
raunsbaekdk 8d5618c44a Bash does not support double equal sign ()
use single equal sign '=' instead.
neil 06e8b869b9 Update README.md
neil 61579ec329 Update README.md
root 9bf69d30e0 exec mode
neil 218dc3390f support lexicon dns api
neil a4270efac9 fix wget support in dns api
neil 01f54558b9 fix error message.
Indust 4fa08fc78c fix record update error for cloudxns ()
thanks.
neil 0a7c936442 modify shebang to bash after install if bash is installed.
neil 00a506053c compatible to dash
neil 8663fb7e64 revert to bash. there are some issue with sh need to fix yet.
neil 99dc89c051 v2.2.0. It's time to declare that we are `sh` compatible, not only `bash`.
neil 158f22f733 fix compatible for sh. rename api. '-' is not allowed in the function name.
neil eccec5f6d5 fix compatible for sh. '-' is not allowed in function name.
neil 036e9d1074 fix compatible for sh
Sergei Filippov fb67522324 Update dns-myapi.sh
neil 5c917113e8 V2 help
neil a63b05a9e7 le.sh v2.0.0
1. Unix-like command api
2. 100% compatible with le.sh 1.x command api.
3. Support different webroot for each domain in the same cert.
```
le.sh  --issue  -d a.com  -w /wwwroot/a.com  -d b.com -w /wwwroot/b.com
```
4. Support different authentication methods for each domain in the same cert. Hybrid usage:
```
le.sh  --issue  -d a.com -w /wwwroot/a.com  -d  b.com -dns dns-cf
```

5. Two different debug levels to provide useful debug info. `--debug`  or `--debug 2`
6. Support to install `fullchain.cer` after renewal.
7. Better performance.
neil d250f9c715 fix bug for cloudflare api
neil e6d31b4e0c minor, add debug info
neil 86c9e55ca2 fix doc error
neil 855d949985 fix links
neil 39c6df299c readme for using api
neil 0809486529 support cloudxns.com api
neil 65785b5fef typos
neil 876df8567a Merge branch 'master' of https://github.com/Neilpang/le
neil 9773342ad1 support dnspod.cn api
Neil 36d5db158a typos
neil e9209938cb support account config file to save dns api key
neil ab49796192 how to use cloudflare api and create custom api
neil 0ed4c9391e sleep to wait dns record to take effect.
neil 638b9a0559 fix bugs
neil 1b5bd0e03e minor fix
root 23bcf2c623 exec
neil 175c9decd7 init dnsapi