Gabriel Thörnblad
b75e90f8c9
Double quote variables (shellcheck suggestions)
2022-03-07 10:28:09 +01:00
Gabriel Thörnblad
0ed4fc6a12
Update dns_loopia.sh
...
Loopia API is now less tolerant so we need another <value> tag surrounding the <struct>
2022-03-04 13:38:05 +01:00
Viktor G
c06db30a65
DNS Loopia min 300 TTL
2020-04-20 21:05:40 +03:00
Miodrag Tokić
aec9c3c9a4
Double quote unquoted variables
...
Double quote unquoted variables to prevent globbing and word splitting.
2019-03-28 16:34:13 +01:00
Miodrag Tokić
0daa225e26
Make the Loopia API endpoint configurable
...
Loopia provides hosting in several countries. Each hosting location has
it's own API endpoint, such as "https://api.loopia .<TLD>/RPCSERV", where
<TLD> is one of: com, no, rs, se.
The current LOOPIA_Api variable is hard-coded to ".se". This prevents
using the Loopia DNS API on other hosting locations.
This commit makes the LOOPIA_Api variable configurable and it falls back
to ".se" TLD if LOOPIA_Api is not set.
References:
- https://www.loopia.com/api/authentication/
- https://www.loopia.no/api/authentication/
- https://www.loopia.rs/api/authentication/
- https://www.loopia.se/api/authentication/
2019-03-27 13:58:23 +01:00
Miodrag Tokić
85be2b85fd
Fix error message language
2019-03-27 13:58:23 +01:00
Miodrag Tokić
a7d6146169
Extract configuration saving code to function
2019-03-27 13:58:23 +01:00
Miodrag Tokić
978ec91107
Extract configuration loading code to function
2019-03-27 13:58:23 +01:00
Marton Szucs
40f0238bb7
fix dns_loopia wildcard certificate
...
Checks if a subdomain already exists before creating one. The loopia API clears all records for a subdomain when adding it again.
Adding TXT-records instead of updating the existing record when using the add method. Wildcard certificates require multiple TXT-records for the same subdomain.
Now you can create wildcard certificates using:
`acme.sh --issue -d example.com -d '*.example.com' --dns dns_loopia`
Double quoting variables
2019-01-03 11:32:43 +01:00
Ivar Larsson
8995d3434f
_contains instead of echo
2018-03-21 11:19:22 -04:00
Ivar Larsson
413f071861
use echo
2018-03-18 10:00:10 -04:00
Ivar Larsson
cac3b3ea35
add dns_loopia
2018-03-14 12:32:02 -04:00