/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Ifconfig.co – Hacker-friendly “What is my IP address”
(ifconfig.co)
224 points
gurjeet
| 3 comments |
30 Mar 21 08:02 UTC
|
HN request time: 0.418s
|
source
Show context
4mine
◴[
30 Mar 21 13:40 UTC
]
No.
26634476
[source]
▶
>>26632178 (OP)
#
Here is my favorite. only using DNS:
$ nslookup myip.opendns.com resolver1.opendns.com
replies(2):
>>26634719
#
>>26638512
#
1.
yakubin
◴[
30 Mar 21 14:04 UTC
]
No.
26634719
[source]
▶
>>26634476
#
Wow. That's a great idea! nslookup is available on more devices than curl/wget.
replies(2):
>>26634879
#
>>26635586
#
ID:
GO
2.
e12e
◴[
30 Mar 21 14:19 UTC
]
No.
26634879
[source]
▶
>>26634719 (TP)
#
Put it another way, if you cannot lookup dns, odds are curl won't work. Of course, some nets might require the use of internal dns servers and block outbound traffic to dns.
3.
john37386
◴[
30 Mar 21 15:17 UTC
]
No.
26635586
[source]
▶
>>26634719 (TP)
#
I always like to learn new trick. I'm definitely adding this nslookup trick to my IT swiss army knife kit. Thanks
↑