Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacob-ian/do-ddns
A dyanmic DNS application for DigitalOcean
https://github.com/jacob-ian/do-ddns
Last synced: 9 days ago
JSON representation
A dyanmic DNS application for DigitalOcean
- Host: GitHub
- URL: https://github.com/jacob-ian/do-ddns
- Owner: jacob-ian
- License: apache-2.0
- Created: 2023-07-07T03:55:55.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-07T05:22:15.000Z (over 1 year ago)
- Last Synced: 2024-11-06T07:29:43.273Z (about 2 months ago)
- Language: Rust
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# do-ddns
A dynamic dns application for DigitalOcean DNS## Installation
1. Build source code
```
cargo build --release
```
2. Run install.sh with sudo
```
sudo ./install.sh
```
3. Set configuration in `/etc/do-ddns/config.toml`
```toml
# Create the schedule on which to update the DNS record
# sec min hour day of month month day of week year
# * * * * * * *
schedule = "0 1/5 * * * * *"# The domain managed by DigitalOcean DNS
domain = "example.com"# The A Record to apply dynamic DNS
# Example: "home" -> home.example.com
record_name = "home"# Get auth token from https://cloud.digitalocean.com/account/api/tokens
do_token = "AUTH_TOKEN"
```
4. Start the ddns service
```
sudo systemctl start do-ddns
```## Updating Config
1. Update the config in `/etc/do-ddns/config.toml`
2. Restart the service
```
sudo systemctl restart do-ddns
```## License
This repository uses the Apache License 2.0.