howto use curl to get Internet IP

Andrew Parker andrewparker at bigfoot.com
Sat Jun 7 13:06:30 UTC 2008


On Fri, Jun 6, 2008 at 1:48 PM, Jim <mickeyboa at sbcglobal.net> wrote:
> I want to use  curl to get my Internet IP address, and getting it to
> ddclirent.
> Using  getip.com and dyndns.org to get my IP for ddclient, isn't working
> out, they shutout  ddclient  after  awhile from getting my Internet IP  to
> send to dyndns.org .
> I understand curl can get the Internet IP for ddclient, does anyone know of
> a  HowTo to show me how to do this ?

http://www.whatismyip.com/automation/n09230945.asp

Notes on this URL, including frequency of use, are at the bottom of
this page: http://www.whatismyip.com/whatsnew.asp

IP=$(curl -s -S http://www.whatismyip.com/automation/n09230945.asp)




More information about the fedora-list mailing list