Live data from Hacker News

Show HN: Justyourip.com

justyourip.com

41–47 of 47 posts

Re: Show HN: Justyourip.com

#42
post #9

Earlier quoted context omitted.

There's also icanhazip.com and /cdn-cgi/trace on any Cloudflare-proxied site.

I didn't know about the /cdn-cgi/trace Cloudflare trick. Here's a one-liner to print just the ip via curl: curl -s cloudflare.com/cdn-cgi/trace | grep ip | cut -d "=" -f 2 --

What do those -- at the end do? I get my IP without them.

Re: Show HN: Justyourip.com

#43

I got tired of sending people to ad laden websites, some of them quite obnoxious, just for an IP. So I made this. No ads, no affiliation with anybody but the guy who made it, just a place to get Just Your IP.

How about a sister site called notyourip.com that shows someone else’s IP address?

Re: Show HN: Justyourip.com

#45

My favorite (very fast & lightweight) dig +short myip.opendns.com @resolver1.opendns.com

This doesn't work for me for some reason. I use: dig TXT +short o-o.myaddr.l.google.com @ns1.google.com which I've aliased to ipe

That's neat, but you have to get rid of the quotes somehow.

Re: Show HN: Justyourip.com

#47
post #9

Earlier quoted context omitted.

There's also icanhazip.com and /cdn-cgi/trace on any Cloudflare-proxied site.

I didn't know about the /cdn-cgi/trace Cloudflare trick. Here's a one-liner to print just the ip via curl: curl -s cloudflare.com/cdn-cgi/trace | grep ip | cut -d "=" -f 2 --

That may return IPv6 if you have IPv6 connectivity, which might not be what you're looking for.

I just do this, myself:

IP=`curl -s checkip.amazonaws.com`

Post reply on HN