From c8203f8fddd25645d796e4b25b175a98b99f89a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 26 Aug 2021 15:08:04 -0500 Subject: Change domain to check Public IP --- hyperterm/tools/network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hyperterm/tools') diff --git a/hyperterm/tools/network.sh b/hyperterm/tools/network.sh index 1a21a57..6a2325f 100644 --- a/hyperterm/tools/network.sh +++ b/hyperterm/tools/network.sh @@ -4,5 +4,5 @@ function __network() { : "${MY_IP:=$(ip route show table local | awk -F "local" '{print $2}' | uniq)}" unset MY_ISP - : "${MY_ISP:=$(host myip.opendns.com resolver1.opendns.com | grep "myip.opendns.com has" | awk '{print $4}')}" + : "${MY_ISP:=$(host whoami.akamai.net. ns1-1.akamaitech.net. | grep "whoami.akamai.net has" | awk '{print $4}')}" } -- cgit v1.2.3