Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnmaguire/dynamic-dns
A simple Bash script for updating DNS records in Cloudflare and DigitalOcean.
https://github.com/johnmaguire/dynamic-dns
cloudflare-dns digitalocean-dns dns dynamic-dns dynamic-dns-updater
Last synced: about 1 month ago
JSON representation
A simple Bash script for updating DNS records in Cloudflare and DigitalOcean.
- Host: GitHub
- URL: https://github.com/johnmaguire/dynamic-dns
- Owner: johnmaguire
- Created: 2019-05-15T15:21:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-14T07:09:25.000Z (about 1 year ago)
- Last Synced: 2024-11-30T21:52:51.667Z (about 1 month ago)
- Topics: cloudflare-dns, digitalocean-dns, dns, dynamic-dns, dynamic-dns-updater
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dynamic DNS Updater
A simple Bash script for updating DNS records in Cloudflare and DigitalOcean.## Instructions
1. Clone the repository somewhere accessible: `git clone [email protected]:JohnMaguire/dynamic-dns.git /opt/dynamic-dns/`
2. Copy the example .env file into place: `cp /opt/dynamic-dns/examples/env /opt/dynamic-dns/.env`
3. Copy the example domain file into place: `cp /opt/dynamic-dns/examples/domain.example.com /opt/dynamic-dns/domains.d/domain.example.com`
4. Edit both files from the above steps with your desired values.
5. Finally, configure a cron job or systemd unit to periodically call the script. (See examples directory for systemd service and timer.)