News for hackers. Stuff that matters.
Re:What the f*** is my IP address? by noonespecial on Saturday November 20, 2010 @03:41PM (#1925269)
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:

  curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
Re:What the f*** is my IP address? by makmanalp on Saturday November 20, 2010 @05:51PM (#1925610)
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.
Re:What the f*** is my IP address? by kaerast on Saturday November 20, 2010 @04:54PM (#1925433)
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)
Re:What the f*** is my IP address? by qixxiq on Saturday November 20, 2010 @04:27PM (#1925378)
I run my own version, with a fair bit less 'frill'

  curl -s http://www.lusion.co.za/ip
Re:What the f*** is my IP address? by edge17 on Saturday November 20, 2010 @05:05PM (#1925465)
thanks... added that to my alias list