From 29c0482f2982ff6d3ccbdec4fb7877772fa84114 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 24 Apr 2023 13:35:07 -0300 Subject: [PATCH] fix: look for ip everywhere --- certbotd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbotd.sh b/certbotd.sh index b5303d3..d7c901f 100755 --- a/certbotd.sh +++ b/certbotd.sh @@ -94,7 +94,7 @@ case $1 in test -d "/etc/letsencrypt/live/${domain}" && continue # 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" continue fi