https://github.com/temikus/do-ddns
Openwrt DDNS script using Digital Ocean domains API
https://github.com/temikus/do-ddns
Last synced: about 1 year ago
JSON representation
Openwrt DDNS script using Digital Ocean domains API
- Host: GitHub
- URL: https://github.com/temikus/do-ddns
- Owner: Temikus
- License: mit
- Created: 2015-06-25T15:10:46.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-10-05T04:10:55.000Z (over 5 years ago)
- Last Synced: 2025-01-22T15:43:18.160Z (over 1 year ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# do-ddns
Custom script for OpenWRT DDNS updates using Digital Ocean domains API
## Installation
- Make sure you have the curl package installed
- Copy script to /usr/lib/ddns/
- Make it executable:
`# chmod +x /usr/lib/ddns/update_do.sh`
- Specify the following parameters in the /etc/config/ddns:
`Username` - the record id in the DO API structure.
`Password` - API Token
`Domain` - the domain managed by DO
- Set a custom script option in /etc/config/ddns:
`option update_script '/usr/lib/ddns/update_do.sh'`
- ???
- PROFIT
NOTE: the script is parsed (not executed) inside send_update() function
of /usr/lib/ddns/dynamic_dns_functions.sh so you can use all available
functions and global variables inside this script that were already defined
in dynamic_dns_updater.sh and dynamic_dns_functions.sh
See [DO API guide](https://developers.digitalocean.com/documentation/v2/#domains) for more info.