What are good services for checking the external IP address of a machine?

I am working with an API that requires the external IP address of a device. I realized that I cannot do this without relying on an external server.

I have used whatismyip.com in the past:

wget -q -O - http://whatismyip.com/automation/n09230945.asp

What are some other services for checking the external IP address of a machine? Since I am concerned about a single point of failure, I would like to have several options with which I can fail.

+6
api networking ip
source share
3 answers
 curl -s http://checkip.dyndns.org | sed 's/[a-zA-Z/<> :]//g' 

Now I have not written this myself, just doing some research for you.

http://www.geekology.co.za/blog/2009/04/checking-your-internal-and-external-ip-addresses-on-a-unix-machine/

or

 wget -O -q icanhazip.com 
+9
source share

http://api.externalip.net/ip works great for me, works great and fast. no reg exp required

+5
source share

All Articles