From 8f883f3d374b4de9b3ad731d3bef5d667b095ae8 Mon Sep 17 00:00:00 2001 From: FreddleSpl0it <75116288+FreddleSpl0it@users.noreply.github.com> Date: Mon, 9 Mar 2026 15:27:33 +0100 Subject: [PATCH] Rename dns-101 to dns-01 --- _modules/scripts/new_options.sh | 2 +- data/Dockerfiles/acme/load-dns-config.sh | 2 +- data/Dockerfiles/acme/obtain-certificate-dns.sh | 2 +- generate_config.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_modules/scripts/new_options.sh b/_modules/scripts/new_options.sh index 4399b2cc..2c39c8a7 100644 --- a/_modules/scripts/new_options.sh +++ b/_modules/scripts/new_options.sh @@ -302,7 +302,7 @@ adapt_new_options() { ;; ACME_DNS_PROVIDER) echo '# DNS provider for DNS-01 challenge (e.g. dns_cf, dns_azure, dns_gd, etc.)' >> mailcow.conf - echo '# See the dns-101 provider documentation for more information.' >> mailcow.conf + echo '# See the dns-01 provider documentation for more information.' >> mailcow.conf echo 'ACME_DNS_PROVIDER=dns_xxx' >> mailcow.conf ;; ACME_ACCOUNT_EMAIL) diff --git a/data/Dockerfiles/acme/load-dns-config.sh b/data/Dockerfiles/acme/load-dns-config.sh index b48d36d3..af9caeaf 100755 --- a/data/Dockerfiles/acme/load-dns-config.sh +++ b/data/Dockerfiles/acme/load-dns-config.sh @@ -7,7 +7,7 @@ else __dns_loader_standalone=0 fi -CONFIG_PATH="${ACME_DNS_CONFIG_FILE:-/etc/acme/dns-101.conf}" +CONFIG_PATH="${ACME_DNS_CONFIG_FILE:-/etc/acme/dns-01.conf}" if [[ ! -f "${CONFIG_PATH}" ]]; then if [[ $__dns_loader_standalone -eq 1 ]]; then diff --git a/data/Dockerfiles/acme/obtain-certificate-dns.sh b/data/Dockerfiles/acme/obtain-certificate-dns.sh index 0be274d4..f88089f0 100644 --- a/data/Dockerfiles/acme/obtain-certificate-dns.sh +++ b/data/Dockerfiles/acme/obtain-certificate-dns.sh @@ -12,7 +12,7 @@ CERT_DOMAINS=(${DOMAINS[@]}) CERT_DOMAIN=${CERT_DOMAINS[0]} ACME_BASE=/var/lib/acme -# Load optional DNS provider secrets from /etc/acme/dns-101.conf +# Load optional DNS provider secrets from /etc/acme/dns-01.conf if [[ -f /srv/load-dns-config.sh ]]; then source /srv/load-dns-config.sh if declare -F log_f >/dev/null; then diff --git a/generate_config.sh b/generate_config.sh index ef9fde56..420854ea 100755 --- a/generate_config.sh +++ b/generate_config.sh @@ -299,7 +299,7 @@ ACME_DNS_CHALLENGE=n ACME_DNS_PROVIDER=dns_xxx ACME_ACCOUNT_EMAIL=me@example.com # You will need to pass provider-specific environment variables to the acme-mailcow container. -# See the dns-101 provider documentation for more information. +# See the dns-01 provider documentation for more information. # for example for Azure DNS: #AZUREDNS_SUBSCRIPTIONID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx #AZUREDNS_TENANTID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx