nslookup myip.opendns.com resolver1.opendns.com
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
Name: myip.opendns.com
Address: xxx.xxx.xxx.xxx
or
curl icanhazip.com
nslookup myip.opendns.com resolver1.opendns.com
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
Name: myip.opendns.com
Address: xxx.xxx.xxx.xxx
or
curl icanhazip.com