Browse Source

fix lookup command

master
Pasture Pastureson 4 months ago
parent
commit
ef2e4de8a3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docker-entrypoint.sh

+ 1
- 1
docker-entrypoint.sh View File

@ -8,7 +8,7 @@ if [ -n "$IP" ]; then
while [ "$resolv" != "$IP" ]; do
echo "Waiting for name to resolve properly (want $IP for $DOMAIN, got $resolv)..."
sleep 60
resolv="$(curl 'https://dns.google/resolve?name=$DOMAIN' | jq -c -r .Answer[0].data)"
resolv=$(curl "https://dns.google/resolve?name=$DOMAIN" | jq -c -r .Answer[0].data)
done
echo "$DOMAIN resolves to $resolv"
fi


Loading…
Cancel
Save