nslookup myip.opendns.com resolver1.opendns.com [works in both cmd/bash]
dig +short myip.opendns.com @resolver1.opendns.com [linux only]
curl ifconfig.io
nslookup myip.opendns.com resolver1.opendns.com [works in both cmd/bash]
dig +short myip.opendns.com @resolver1.opendns.com [linux only]
curl ifconfig.io