28
10
I'm writing a script that does dynamic DNS updates for me, but my server is behind a router, and so I need to use a web service to determine my public IP.
So far I've found this one which returns just your plain IP. I was looking around trying to find a couple of alternatives to use in my script supposing that that one is down, but I can't find any others that return just the IP as plaintext.
These ones return some HTML, but I really don't want to bother parsing HTML when what the script needs to do is such a simple task.
Does anyone know of some other reliable services which return only your public IP in plaintext?
True. It's actually the first one I really remember. – slhck – 2012-05-05T16:56:03.017
1icanhazip.com is not very reliable. Once every few times, the site doesn't answer at all. – Serge Wautier – 2012-08-21T14:06:44.477