summaryrefslogtreecommitdiffstats
path: root/myip-dns
diff options
context:
space:
mode:
Diffstat (limited to 'myip-dns')
-rw-r--r--myip-dns3
1 files changed, 3 insertions, 0 deletions
diff --git a/myip-dns b/myip-dns
new file mode 100644
index 0000000..7052b07
--- /dev/null
+++ b/myip-dns
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+dig +short myip.opendns.com @resolver1.opendns.com