Show Public IP
dig TXT +short o-o.myaddr.l.google.com @ns1.google.comcurl ifconfig.meLast updated
Public IP Address using dig can be obtained using command:
dig TXT +short o-o.myaddr.l.google.com @ns1.google.comAlternate using curl:
curl ifconfig.meLast updated