Skip to content

Commit

Permalink
Merge pull request #84 from injabie3-moe/dns-upstream
Browse files Browse the repository at this point in the history
Add custom upstream DNS resolver
  • Loading branch information
kchristensen authored Jan 1, 2024
2 parents f5b4a20 + 089b1bd commit 98a5079
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions udm-le.env
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ ENABLE_RADIUS="no"
# Leave this disabled if you don't know what this means as most configurations don't need it.
LEGO_EXPERIMENTAL_CNAME_SUPPORT=false

# The DNS resolver used to verify records. Change this to a public DNS resolver if you have
# modified your UDM's upstream DNS servers to point to an internal resolver that is the
# authoritative name server for any domain that you are trying to request certificates for.
DNS_RESOLVER="127.0.0.1:53"

#
# DNS provider configuration
# See README.md file for more details
Expand Down
2 changes: 1 addition & 1 deletion udm-le.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source /data/udm-le/udm-le.env
set +a

# Setup additional variables for later
LEGO_ARGS="--dns ${DNS_PROVIDER} --email ${CERT_EMAIL} --key-type rsa2048"
LEGO_ARGS="--dns ${DNS_PROVIDER} --dns.resolvers ${DNS_RESOLVER} --email ${CERT_EMAIL} --key-type rsa2048"
LEGO_FORCE_INSTALL=false
RESTART_SERVICES=false

Expand Down

0 comments on commit 98a5079

Please sign in to comment.