Last active
February 7, 2018 03:13
-
-
Save jrlucier/91976e86fa4cceaf3dc6739e43f430a7 to your computer and use it in GitHub Desktop.
Update Namecheap.com DDNS
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 characters
## Create a new task from Synology Settings via Task Scheduler. Copy this as a "user defined script", replacing the __variable__ with what it should be for your account/domain: | |
#!/usr/bin/bash | |
ip="$(curl -s http://whatismyip.akamai.com)"; url="http://dynamicdns.park-your-domain.com/update?host=__sub__&domain=__domain.net__&password=__BLAHBLAH__&ip=${ip}"; echo $ip ;echo $url ;curl -f -s $url > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment