mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-08-03 11:56:17 -04:00
Added support for Hurricane Electric (HE) DNS validation
Adds support for Hurricane Electric's Free DNS Service validation.
This commit is contained in:
parent
8c150cf0fa
commit
aa9990b496
6 changed files with 12 additions and 1 deletions
4
root/defaults/dns-conf/he.ini
Normal file
4
root/defaults/dns-conf/he.ini
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Instructions: https://github.com/TSaaristo/certbot-dns-he#example-usage
|
||||
# Replace with your values
|
||||
certbot_dns_he:dns_he_user = Me
|
||||
certbot_dns_he:dns_he_pass = my HE password
|
|
@ -236,6 +236,9 @@ if [ "$VALIDATION" = "dns" ]; then
|
|||
elif [[ "$DNSPLUGIN" =~ ^(google)$ ]]; then
|
||||
if [ -n "$PROPAGATION" ];then PROPAGATIONPARAM="--dns-${DNSPLUGIN}-propagation-seconds ${PROPAGATION}"; fi
|
||||
PREFCHAL="--dns-${DNSPLUGIN} --dns-${DNSPLUGIN}-credentials /config/dns-conf/${DNSPLUGIN}.json ${PROPAGATIONPARAM}"
|
||||
elif [[ "$DNSPLUGIN" =~ ^(he)$ ]]; then
|
||||
if [ -n "$PROPAGATION" ];then PROPAGATIONPARAM="--certbot-dns-${DNSPLUGIN}:dns-${DNSPLUGIN}-propagation-seconds ${PROPAGATION}"; fi
|
||||
PREFCHAL="-a certbot-dns-${DNSPLUGIN}:dns-${DNSPLUGIN} --certbot-dns-${DNSPLUGIN}:dns-${DNSPLUGIN}-credentials /config/dns-conf/${DNSPLUGIN}.ini ${PROPAGATIONPARAM}"
|
||||
elif [[ "$DNSPLUGIN" =~ ^(aliyun|domeneshop|hetzner|inwx|ionos|netcup|njalla|transip|vultr)$ ]]; then
|
||||
if [ -n "$PROPAGATION" ];then PROPAGATIONPARAM="--dns-${DNSPLUGIN}-propagation-seconds ${PROPAGATION}"; fi
|
||||
PREFCHAL="-a dns-${DNSPLUGIN} --dns-${DNSPLUGIN}-credentials /config/dns-conf/${DNSPLUGIN}.ini ${PROPAGATIONPARAM}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue