aboutsummaryrefslogtreecommitdiffstats
path: root/hyperterm/tools/network.sh
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-08-26 15:08:04 -0500
committerJesús <heckyel@hyperbola.info>2021-08-26 15:08:04 -0500
commitc8203f8fddd25645d796e4b25b175a98b99f89a0 (patch)
tree131aa76f4de2fe2661ec0695750a8e78d7d0d13c /hyperterm/tools/network.sh
parenteaa8ed46e3146681412f8fe27c90249fc6b57aa3 (diff)
downloadhyperterm-c8203f8fddd25645d796e4b25b175a98b99f89a0.tar.lz
hyperterm-c8203f8fddd25645d796e4b25b175a98b99f89a0.tar.xz
hyperterm-c8203f8fddd25645d796e4b25b175a98b99f89a0.zip
Change domain to check Public IP
Diffstat (limited to 'hyperterm/tools/network.sh')
-rw-r--r--hyperterm/tools/network.sh2
1 files changed, 1 insertions, 1 deletions
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}')}"
}