User Tools

Site Tools


internet:external_ip

External IP Address

Any Web Browser

Windows Powershell

(Invoke-WebRequest -Uri "http://ifconfig.me/ip").Content

Linux CLI

dig

dig +short myip.opendns.com @resolver1.opendns.com

or

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

host

host myip.opendns.com resolver1.opendns.com

curl

curl ifconfig.me

or

curl ipinfo.io/ip

Text Browser

lynx --dump http://www.whatismyip.com/ | grep -o '[0-9].*\.[0-9].*\.[0-9].*\.[0-9].*' -m1

or

elinks --dump http://www.whatismyip.com/ | grep -o '[0-9].*\.[0-9].*\.[0-9].*\.[0-9].*' -m1
internet/external_ip.txt · Last modified: 2024/03/31 08:58 by gcooper