knot is always at knot.doma.in
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2022-03-01 18:33:23 -03:00
parent 8c2c4aa4d8
commit ed9e013135

View file

@ -3,10 +3,9 @@
# Registers the local IPv6 address to the DNS
IP6="`whatsmyip6`"
KNOT="${KNOT:-${IP6}}"
KNOT="${KNOT:-knot.${DOMAIN}}"
test -z "${IP6}" && exit 1
test -z "${KNOT}" && exit 1
test -z "${DOMAIN}" && exit 1
# Add a dot if the hostname contains the domain