aboutsummaryrefslogtreecommitdiffstats
path: root/bin/checkip
diff options
context:
space:
mode:
Diffstat (limited to 'bin/checkip')
-rwxr-xr-xbin/checkip5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/checkip b/bin/checkip
index f7f2f4c..0e9d345 100755
--- a/bin/checkip
+++ b/bin/checkip
@@ -1,3 +1,4 @@
#!/bin/bash
-ip=`curl -s http://checkip.dyndns.org | sed 's/[a-zA-Z/<> :]//g'`
-echo "$ip"
+#echo "$(curl -s http://checkip.dyndns.org | sed 's/[a-zA-Z/<> :]//g')
+#wget -qO- http://ipecho.net/plain ; echo
+dig +short myip.opendns.com @resolver1.opendns.com