Skip to content
Snippets Groups Projects
Commit c2eeb30f authored by Mark Tearle's avatar Mark Tearle
Browse files

Handle DNS config at apex of domain

parent c68b307e
No related merge requests found
...@@ -47,6 +47,10 @@ fi ...@@ -47,6 +47,10 @@ fi
# Strip only the top domain to get the zone id # Strip only the top domain to get the zone id
DOMAIN=$(expr match "$CERTBOT_DOMAIN" '\(.*\)\.ucc\..*') DOMAIN=$(expr match "$CERTBOT_DOMAIN" '\(.*\)\.ucc\..*')
if [ -z "${DOMAIN}" ]; then
DOMAIN="apex"
fi
BASE_API="${BASE_API:-https://quovadis.ucc.asn.au/quovadis}" BASE_API="${BASE_API:-https://quovadis.ucc.asn.au/quovadis}"
# Create TXT record # Create TXT record
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment