Obtendo o IP público

From Basef
Revision as of 14:14, 12 September 2017 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Para obter o IP público no Ubuntu:

Via Open DNS:

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

Via IPInfo:

curl ipinfo.io/ip