fix: look for ip everywhere
This commit is contained in:
parent
64b5f71b58
commit
29c0482f29
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ case $1 in
|
||||||
test -d "/etc/letsencrypt/live/${domain}" && continue
|
test -d "/etc/letsencrypt/live/${domain}" && continue
|
||||||
|
|
||||||
# Ignore non local domains
|
# Ignore non local domains
|
||||||
if ! nslookup "${domain}" 8.8.8.8 | grep -qE "^(${SUTTY_ADDRESSES// /|})$" ; then
|
if ! nslookup "${domain}" 8.8.8.8 | grep -qE "(${SUTTY_ADDRESSES// /|})" ; then
|
||||||
echo "${domain} is not configured to any Sutty node or DNS records are still cached, ignoring for now"
|
echo "${domain} is not configured to any Sutty node or DNS records are still cached, ignoring for now"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue