Skip to content

Commit

Permalink
Add Eurodns DNS support (#3937)
Browse files Browse the repository at this point in the history
  • Loading branch information
chwdt authored Feb 18, 2025
1 parent 72f0b7f commit 0ce853f
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 2 deletions.
4 changes: 4 additions & 0 deletions letsencrypt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 5.3.1

- Add Eurodns DNS support

## 5.3.0

- Disabled certbot-dns-mijn-host (Breaking change)
Expand Down
24 changes: 24 additions & 0 deletions letsencrypt/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ dns-dnsmadeeasy
dns-duckdns
dns-dreamhost
dns-dynu
dns-eurodns
dns-gehirn
dns-godaddy
dns-google
Expand Down Expand Up @@ -105,6 +106,8 @@ dnsmadeeasy_api_key: ''
dnsmadeeasy_secret_key: ''
duckdns_token: ''
dynu_auth_token: ''
eurodns_applicationId: ''
eurodns_apiKey: ''
google_creds: ''
hetzner_api_token: ''
gehirn_api_token: ''
Expand Down Expand Up @@ -976,6 +979,26 @@ dns:

</details>

<details>
<summary>Eurodns DNS challenge</summary>

You can configure the APP id and the API key in the API Users area of the Eurodns control panel: https://my.eurodns.com/apiusers

```yaml
domains:
- your.domain.tld
certfile: fullchain.pem
keyfile: privkey.pem
challenge: dns
dns:
provider: dns-eurodns
eurodns_applicationId: X-APP-ID
eurodns_apiKey: X-API-KEY
propagation_seconds: 60
```

</details>

<details>

<summary>WebSupport (currently disable - see changelog)</summary>
Expand Down Expand Up @@ -1130,6 +1153,7 @@ dns-dnsmadeeasy
dns-duckdns
dns-dreamhost
dns-dynu
dns-eurodns
dns-gehirn
dns-google
dns-hetzner
Expand Down
2 changes: 2 additions & 0 deletions letsencrypt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ARG \
CERTBOT_DNS_DREAMHOST_VERSION \
CERTBOT_DNS_DUCKDNS_VERSION \
CERTBOT_DNS_DYNU_VERSION \
CERTBOT_DNS_EURODNS_VERSION \
CERTBOT_DNS_EASYDNS_VERSION \
CERTBOT_DNS_HURRICANE_ELECTRIC_VERSION \
CERTBOT_DNS_HETZNER_VERSION \
Expand Down Expand Up @@ -64,6 +65,7 @@ RUN \
certbot-dns-dnsmadeeasy==${CERTBOT_VERSION} \
certbot-dns-duckdns==${CERTBOT_DNS_DUCKDNS_VERSION} \
certbot-dns-dynu-dev==${CERTBOT_DNS_DYNU_VERSION} \
certbot-dns-eurodns==${CERTBOT_DNS_EURODNS_VERSION} \
certbot-dns-gehirn==${CERTBOT_VERSION} \
certbot-dns-godaddy==${CERTBOT_DNS_GODADDY_VERSION} \
certbot-dns-google==${CERTBOT_VERSION} \
Expand Down
1 change: 1 addition & 0 deletions letsencrypt/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ args:
CERTBOT_DNS_DIRECTADMIN_VERSION: 1.0.13
CERTBOT_DNS_DUCKDNS_VERSION: 1.5
CERTBOT_DNS_DYNU_VERSION: 0.0.6
CERTBOT_DNS_EURODNS_VERSION: 1.8.1
CERTBOT_DNS_EASYDNS_VERSION: 0.1.4
CERTBOT_DNS_HURRICANE_ELECTRIC_VERSION: 0.1.0
CERTBOT_DNS_HETZNER_VERSION: 2.0.1
Expand Down
6 changes: 4 additions & 2 deletions letsencrypt/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 5.3.0
version: 5.3.1
breaking_versions: [5.3.0]
slug: letsencrypt
name: Let's Encrypt
Expand Down Expand Up @@ -61,6 +61,8 @@ schema:
dnsmadeeasy_secret_key: str?
duckdns_token: str?
dynu_auth_token: str?
eurodns_applicationId: str?
eurodns_apiKey: str?
gandi_api_key: str?
gandi_token: str?
gandi_sharing_id: str?
Expand Down Expand Up @@ -106,7 +108,7 @@ schema:
propagation_seconds: int(60,3600)?
provider: "list(dns-azure|dns-cloudflare|dns-cloudns|dns-desec|\
dns-digitalocean|dns-directadmin|dns-dnsimple|dns-dnsmadeeasy|\
dns-duckdns|dns-dynu|dns-gehirn|dns-godaddy|dns-google|\
dns-duckdns|dns-dynu|dns-eurodns|dns-gehirn|dns-godaddy|dns-google|\
dns-hetzner|dns-infomaniak|dns-ionos|dns-joker|dns-linode|dns-loopia|dns-luadns|\
dns-mijn-host|dns-njalla|dns-nsone|dns-porkbun|dns-ovh|dns-rfc2136|dns-route53|\
dns-sakuracloud|dns-namecheap|dns-netcup|dns-simply|dns-gandi|dns-transip|dns-inwx|\
Expand Down
2 changes: 2 additions & 0 deletions letsencrypt/rootfs/etc/cont-init.d/file-structure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ echo -e "dns_desec_token = $(bashio::config 'dns.desec_token')\n" \
"dns_dnsmadeeasy_secret_key = $(bashio::config 'dns.dnsmadeeasy_secret_key')\n" \
"dns_duckdns_token = $(bashio::config 'dns.duckdns_token')\n" \
"dns_dynu_auth_token = $(bashio::config 'dns.dynu_auth_token')\n" \
"dns_eurodns_applicationId = $(bashio::config 'dns.eurodns_applicationId')\n" \
"dns_eurodns_apiKey = $(bashio::config 'dns.eurodns_apiKey')\n" \
"dns_gehirn_api_token = $(bashio::config 'dns.gehirn_api_token')\n" \
"dns_gehirn_api_secret = $(bashio::config 'dns.gehirn_api_secret')\n" \
"dns_godaddy_secret = $(bashio::config 'dns.godaddy_secret')\n" \
Expand Down
6 changes: 6 additions & 0 deletions letsencrypt/rootfs/etc/services.d/lets-encrypt/run
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ elif [ "${CHALLENGE}" == "dns" ] && [ "${DNS_PROVIDER}" == "dns-dynu" ]; then
bashio::config.require 'dns.dynu_auth_token'
PROVIDER_ARGUMENTS+=("--authenticator" "${DNS_PROVIDER}" "--${DNS_PROVIDER}-credentials" "/data/dnsapikey" "--${DNS_PROVIDER}-propagation-seconds" "${PROPAGATION_SECONDS}")

# Eurodns
elif [ "${CHALLENGE}" == "dns" ] && [ "${DNS_PROVIDER}" == "dns-eurodns" ]; then
bashio::config.require 'dns.eurodns_applicationId'
bashio::config.require 'dns.eurodns_apiKey'
PROVIDER_ARGUMENTS+=("--authenticator" "${DNS_PROVIDER}" "--${DNS_PROVIDER}-credentials" "/data/dnsapikey" "--${DNS_PROVIDER}-propagation-seconds" "${PROPAGATION_SECONDS}")

# Gandi
elif [ "${DNS_PROVIDER}" == "dns-gandi" ]; then
if bashio::config.exists 'dns.gandi_sharing_id'; then
Expand Down

0 comments on commit 0ce853f

Please sign in to comment.