aboutsummaryrefslogtreecommitdiffstats
path: root/bin/checkip
blob: 0e9d345629ba63a0229d5b6925f6cf13cbe2c71b (plain)
1
2
3
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