De Wiki inetshell
Saltar a: navegación, buscar

Por medio de DNS[editar]

https://www.cyberciti.biz/faq/how-to-find-my-public-ip-address-from-command-line-on-a-linux/

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

Usando Curl[editar]

https://askubuntu.com/questions/95910/command-for-determining-my-public-ip

curl https://ipinfo.io/ip

Otros metidos[editar]

https://www.ipify.org/