-
-
Save petehalverson/c7ee086d8f55e01effd228345a72eaa5 to your computer and use it in GitHub Desktop.
Revisions
-
dalhundal created this gist
May 4, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #!/bin/sh # Shell script to update namecheap.com dynamic dns # for a domain to your external IP address HOSTNAME=yoursubdomain DOMAIN=yourdomainname.com PASSWORD=y0urp455w0rd IP=`curl -s echoip.com` curl "https://dynamicdns.park-your-domain.com/update?host=$HOSTNAME&domain=$DOMAIN&password=$PASSWORD&ip=$IP"