• GNU/Linux
  • 5 months ago

Use:

dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.com

Or:

ipconfig getifaddr en0