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
#!/bin/sh | |
# Modified by kdmurray from the source at https://gist.github.com/mhussain/2634050 | |
# - Removed the comparison to the old WAN IP, forces an update each time the script is run | |
# - Added the touch command to an empty hidden file (~/.last-linode-ddns-refresh) to show | |
# when the last DDNS update took place. | |
LINODE_API_KEY=your-linode-api-key | |
DOMAIN_ID=your-domainid | |
RESOURCE_ID=your-domain-resourceid |