4 ms·
Here is my favorite. only using DNS: $ nslookup myip.opendns.com resolver1.opendns.com
by 4mine 6y ago
Here is my favorite. only using DNS:
$ nslookup myip.opendns.com resolver1.opendns.com
- yakubin 6y agoWow. That's a great idea! nslookup is available on more devices than curl/wget.
- e12e 6y agoPut 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.
- john37386 6y agoI always like to learn new trick. I'm definitely adding this nslookup trick to my IT swiss army knife kit. Thanks
- shaicoleman 6y agoWith dig: $ dig +short @resolver1.opendns.com myip.opendns.com