aboutsummaryrefslogtreecommitdiffstats
path: root/bin/checkip
diff options
context:
space:
mode:
Diffstat (limited to 'bin/checkip')
-rwxr-xr-xbin/checkip4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/checkip b/bin/checkip
new file mode 100755
index 0000000..0e9d345
--- /dev/null
+++ b/bin/checkip
@@ -0,0 +1,4 @@
+#!/bin/bash
+#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