diff options
author | Jesús <heckyel@hyperbola.info> | 2021-08-26 15:08:04 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-26 15:08:04 -0500 |
commit | c8203f8fddd25645d796e4b25b175a98b99f89a0 (patch) | |
tree | 131aa76f4de2fe2661ec0695750a8e78d7d0d13c /hyperterm/tools/network.sh | |
parent | eaa8ed46e3146681412f8fe27c90249fc6b57aa3 (diff) | |
download | hyperterm-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.sh | 2 |
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}')}" } |