Gabriel Thörnblad
6ead019873
Accept some special characters in password and added a little bit better error handling
3 years ago
Gabriel Thörnblad
b75e90f8c9
Double quote variables (shellcheck suggestions)
3 years ago
Gabriel Thörnblad
0ed4fc6a12
Update dns_loopia.sh
...
Loopia API is now less tolerant so we need another <value> tag surrounding the <struct>
3 years ago
Viktor G
c06db30a65
DNS Loopia min 300 TTL
5 years ago
Miodrag Tokić
aec9c3c9a4
Double quote unquoted variables
...
Double quote unquoted variables to prevent globbing and word splitting.
6 years ago
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/
6 years ago
Miodrag Tokić
85be2b85fd
Fix error message language
6 years ago
Miodrag Tokić
a7d6146169
Extract configuration saving code to function
6 years ago
Miodrag Tokić
978ec91107
Extract configuration loading code to function
6 years ago
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
6 years ago
Ivar Larsson
8995d3434f
_contains instead of echo
7 years ago
Ivar Larsson
413f071861
use echo
7 years ago
Ivar Larsson
cac3b3ea35
add dns_loopia
7 years ago