leftovers:find_my_public_ip
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| leftovers:find_my_public_ip [2023-08-26 03:28] – dave | leftovers:find_my_public_ip [2024-08-22 19:50] (current) – [PowerShell] dave | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| ==== Dig ==== | ==== Dig ==== | ||
| < | < | ||
| + | # via OpenDNS | ||
| > dig +short myip.opendns.com @resolver1.opendns.com | > dig +short myip.opendns.com @resolver1.opendns.com | ||
| 11.22.33.44 | 11.22.33.44 | ||
| + | # via Google | ||
| > dig TXT +short o-o.myaddr.l.google.com @ns1.google.com | > dig TXT +short o-o.myaddr.l.google.com @ns1.google.com | ||
| " | " | ||
| + | |||
| + | # via Akamai | ||
| + | > dig @ns1-1.akamaitech.net ANY whoami.akamai.net +short | ||
| + | 11.22.33.44 | ||
| </ | </ | ||
| - | Install [[Software: | + | Install |
| ==== nslookup ==== | ==== nslookup ==== | ||
| Line 53: | Line 60: | ||
| </ | </ | ||
| + | Invoke-WebRequest is also aliased as curl so this is another way to get the same result. | ||
| + | |||
| + | < | ||
| + | curl icanhazip.com | Select-Object -ExpandProperty Content | ||
| + | </ | ||
| + | |||
| + | You could sub http:// | ||
leftovers/find_my_public_ip.1693020534.txt.gz · Last modified: by dave
