From 4b4c103df40d6c5e223cd98cbd3447f310b9d5c7 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Mon, 11 Mar 2024 11:12:28 +0000 Subject: [PATCH] Restore dynudns plugin --- Dockerfile | 1 + Dockerfile.aarch64 | 1 + readme-vars.yml | 3 ++- root/defaults/dns-conf/dynu-credentials.ini | 3 +++ 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 root/defaults/dns-conf/dynu-credentials.ini diff --git a/Dockerfile b/Dockerfile index f3b76ea..b1cb94f 100755 --- a/Dockerfile +++ b/Dockerfile @@ -104,6 +104,7 @@ RUN \ certbot-dns-domeneshop \ certbot-dns-dreamhost \ certbot-dns-duckdns \ + certbot-dns-dynudns \ certbot-dns-freedns \ certbot-dns-gehirn \ certbot-dns-glesys \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 82f0b0a..3f90ba4 100755 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -104,6 +104,7 @@ RUN \ certbot-dns-domeneshop \ certbot-dns-dreamhost \ certbot-dns-duckdns \ + certbot-dns-dynudns \ certbot-dns-freedns \ certbot-dns-gehirn \ certbot-dns-glesys \ diff --git a/readme-vars.yml b/readme-vars.yml index a6f25ad..69b8f28 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -50,7 +50,7 @@ opt_param_usage_include_env: true opt_param_env_vars: - { env_var: "SUBDOMAINS", env_value: "www,", desc: "Subdomains you'd like the cert to cover (comma separated, no spaces) ie. `www,ftp,cloud`. For a wildcard cert, set this *exactly* to `wildcard` (wildcard cert is available via `dns` validation only)" } - { env_var: "CERTPROVIDER", env_value: "", desc: "Optionally define the cert provider. Set to `zerossl` for ZeroSSL certs (requires existing [ZeroSSL account](https://app.zerossl.com/signup) and the e-mail address entered in `EMAIL` env var). Otherwise defaults to Let's Encrypt." } - - { env_var: "DNSPLUGIN", env_value: "cloudflare", desc: "Required if `VALIDATION` is set to `dns`. Options are `acmedns`, `aliyun`, `azure`, `bunny`, `cloudflare`, `cpanel`, `desec`, `digitalocean`, `directadmin`, `dnsimple`, `dnsmadeeasy`, `dnspod`, `do`, `domeneshop`, `dreamhost`, `duckdns`, `freedns`, `gandi`, `gehirn`, `glesys`, `godaddy`, `google`, `google-domains`, `he`, `hetzner`, `infomaniak`, `inwx`, `ionos`, `linode`, `loopia`, `luadns`, `namecheap`, `netcup`, `njalla`, `nsone`, `ovh`, `porkbun`, `rfc2136`, `route53`, `sakuracloud`, `standalone`, `transip`, and `vultr`. Also need to enter the credentials into the corresponding ini (or json for some plugins) file under `/config/dns-conf`." } + - { env_var: "DNSPLUGIN", env_value: "cloudflare", desc: "Required if `VALIDATION` is set to `dns`. Options are `acmedns`, `aliyun`, `azure`, `bunny`, `cloudflare`, `cpanel`, `desec`, `digitalocean`, `directadmin`, `dnsimple`, `dnsmadeeasy`, `dnspod`, `do`, `domeneshop`, `dreamhost`, `duckdns`, `dynudns`, `freedns`, `gandi`, `gehirn`, `glesys`, `godaddy`, `google`, `google-domains`, `he`, `hetzner`, `infomaniak`, `inwx`, `ionos`, `linode`, `loopia`, `luadns`, `namecheap`, `netcup`, `njalla`, `nsone`, `ovh`, `porkbun`, `rfc2136`, `route53`, `sakuracloud`, `standalone`, `transip`, and `vultr`. Also need to enter the credentials into the corresponding ini (or json for some plugins) file under `/config/dns-conf`." } - { env_var: "PROPAGATION", env_value: "", desc: "Optionally override (in seconds) the default propagation time for the dns plugins." } - { env_var: "EMAIL", env_value: "", desc: "Optional e-mail address used for cert expiration notifications (Required for ZeroSSL)." } - { env_var: "ONLY_SUBDOMAINS", env_value: "false", desc: "If you wish to get certs only for certain subdomains, but not the main domain (main domain may be hosted on another machine and cannot be validated), set this to `true`" } @@ -168,6 +168,7 @@ app_setup_block: | # changelog changelogs: + - { date: "11.03.24:", desc: "Restore support for DynuDNS using `certbot-dns-dynudns`." } - { date: "06.03.24:", desc: "[Existing users should update:](https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs) site-confs/default.conf - Cleanup default site conf." } - { date: "04.03.24:", desc: "Remove `stream.conf` inside the container to allow users to include their own block in `nginx.conf`." } - { date: "23.01.24:", desc: "Rebase to Alpine 3.19 with php 8.3, add root periodic crontabs for logrotate." } diff --git a/root/defaults/dns-conf/dynu-credentials.ini b/root/defaults/dns-conf/dynu-credentials.ini new file mode 100644 index 0000000..93276f3 --- /dev/null +++ b/root/defaults/dns-conf/dynu-credentials.ini @@ -0,0 +1,3 @@ +# Instructions: https://github.com/DustyRah/certbot-dns-dynudns +# Replace with your API token from your dynudns account. +dns_dynu_auth_token = AbCbASsd!@34