What the f*** is my IP address?(mitchj.info)
mitchj.info
What the f*** is my IP address?
http://mitchj.info/ip/
17 comments
checkip.dyndns.org
No ads, no style, no frill. Returns one line of machine readable text. Get you IP right on the command line with curl:
No ads, no style, no frill. Returns one line of machine readable text. Get you IP right on the command line with curl:
curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'This is funny. I worked for dyndns over the summer and keeping this up is one of their major concerns. I think it runs on several different servers around the world, anycasted. Tons of router manufacturers from around the world put something like the above snippet with checkip in their code, as well as people like you and me who use this as a quick hack.
Or you could use http://geoip.ubuntu.com/lookup which the Ubuntu installer uses for default settings. It's all returned in xml and gives current location and timezone as well as IP address (not that I've ever woken up with no idea where I am of course)
I run my own version, with a fair bit less 'frill'
curl -s http://www.lusion.co.za/ipthanks... added that to my alias list
Guess mitchdev finally realized his old account was busted for spamming his site.
http://news.ycombinator.com/submitted?id=mitchdev
http://news.ycombinator.com/submitted?id=mitchdev
That's really annoying because you can't copy/paste it which you'd ordinarily want to do at a site like this. I guess that's intentional to stop you using lots of bandwidth by scrapers though, and it was probably a nice toy project to play with rendering of graphics.
What? It's in the html in plaintext, and this method takes far more bandwidth.
Ah ok yes, it is in plaintext - it's just not selectable because there's an image created too. Worst of both worlds really then.
I used to like whatismyip.com. However it seems like their page has gotten more crowded since I last checked.
I've always used http://www.ipchicken.com/
curl -L -s --max-time 2 http://checkip.dyndns.org | egrep -o -m 1 '([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}' I<3 dyndns.org (nor iracional)
Turn your speakers on before visiting either. :)