How to use dig (domain information groper) to determine public ipv4 address: dig +short myip.opendns.com @resolver1.opendns.com
dig +short myip.opendns.com @resolver1.opendns.com