Find your Public IP

Type in the following command on your Mac Terminal to see the Public IP of your system.

dig TXT +short

This is useful when you’re trying to get public IP for a server. For your own laptop, you can hit and it would give you your Public IP address.