From 2e7c2bbc7c1110020b8873bab4a907cbd5069673 Mon Sep 17 00:00:00 2001 From: OnHamzaYT <70980195+OnHamzaYT@users.noreply.github.com> Date: Sun, 24 Jan 2021 09:57:57 +0100 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 2ddbaf6..c6f1ce2 100644 --- a/install.sh +++ b/install.sh @@ -342,7 +342,7 @@ dns_check(){ read FQDN output "Resolving DNS..." - SERVER_IP=$(curl -s http://checkip.amazonaws.com) + SERVER_IP=$(dig +short myip.opendns.com @resolver1.opendns.com) DOMAIN_RECORD=$(dig +short ${FQDN}) if [ "${SERVER_IP}" != "${DOMAIN_RECORD}" ]; then output ""