knot is always at knot.doma.in
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
f 2022-03-01 18:33:23 -03:00
parent 8c2c4aa4d8
commit ed9e013135
1 changed files with 1 additions and 2 deletions

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