Monday, 28 August 2017

How to find your public IP on Linux


Run command line:
dig TXT +short o-o.myaddr.l.google.com @ns1.google.com
or
dig +short myip.opendns.com @resolver1.opendns.com

No comments:

Post a Comment

Search