Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yescallop/aliddns
A bash script with systemd units providing DDNS service through Aliyun OpenAPI.
https://github.com/yescallop/aliddns
aliddns aliyun bash ddns script shell systemd-unit
Last synced: about 1 month ago
JSON representation
A bash script with systemd units providing DDNS service through Aliyun OpenAPI.
- Host: GitHub
- URL: https://github.com/yescallop/aliddns
- Owner: yescallop
- Created: 2017-10-04T09:56:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-15T12:56:31.000Z (8 months ago)
- Last Synced: 2024-05-16T02:31:25.898Z (8 months ago)
- Topics: aliddns, aliyun, bash, ddns, script, shell, systemd-unit
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aliddns
A bash script with systemd units providing DDNS service through Aliyun OpenAPI.
## Installation
Edit `aliddns.sh` as instructed in the file and run the following commands as root.
```bash
install -m700 aliddns.sh /usr/local/sbin/
install -m644 aliddns.service aliddns.timer /etc/systemd/system/
systemctl daemon-reload
systemctl enable --now aliddns.timer
```Use `journalctl -u aliddns` to see the log messages.
The service logs only when a domain record is updated or an error occurs,
so you might not be seeing any messages.
One way to test if the service actually works is to manually edit the domain record
and see if there will be a log message saying `Update: IP ADDRESS` when the timer triggers.