docs/content/dns/zz_gen_acme-dns.md
Configuration for Joohoi's ACME-DNS.
<!--more-->acme-dnsHere is an example bash command using the Joohoi's ACME-DNS provider:
ACME_DNS_API_BASE=http://10.0.0.8:4443 \
ACME_DNS_STORAGE_PATH=/root/.lego-acme-dns-accounts.json \
lego --dns "acme-dns" -d '*.example.com' -d example.com run
# or
ACME_DNS_API_BASE=http://10.0.0.8:4443 \
ACME_DNS_STORAGE_BASE_URL=http://10.10.10.10:80 \
lego --dns "acme-dns" -d '*.example.com' -d example.com run
| Environment Variable Name | Description |
|---|---|
ACME_DNS_API_BASE | The ACME-DNS API address |
ACME_DNS_STORAGE_BASE_URL | The ACME-DNS JSON account data server. |
ACME_DNS_STORAGE_PATH | The ACME-DNS JSON account data file. A per-domain account will be registered/persisted to this file and used for TXT updates. |
The environment variable names can be suffixed by _FILE to reference a file instead of a value.
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
| Environment Variable Name | Description |
|---|---|
ACME_DNS_ALLOWLIST | Source networks using CIDR notation (multiple values should be separated with a comma). |
The environment variable names can be suffixed by _FILE to reference a file instead of a value.
More information [here]({{% ref "dns#configuration-and-credentials" %}}).