On 2/2/2012 3:52 PM, Rich Shepard wrote:
> On Thu, 2 Feb 2012, Jim Garrison wrote:
> 
>> whatismyip.com has an automation page that returns ONLY the IP address. 
>> You can easily use curl with the correct link. For bash:
> 
>>   MYIP=$(curl http://automation.whatismyip.com/n09230945.asp)
> 
> Jim,
> 
>    Now that is super convenient! This I will use in the script, and then use
> Mike's suggestion of ddclient to push it to namecheap.
> 
> Thank you both very much,

Be sure to pay attention to WhatIsMyIP's usage policy (spelled out
in the FAQ).  In essence, try not to hit that link more than once
every 5 minutes, less often if possible.


-- 
Jim Garrison (j...@acm.org)
PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88
_______________________________________________
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to