https://github.com/endocrimes/dynamic-dns-cloudflare
https://github.com/endocrimes/dynamic-dns-cloudflare
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/endocrimes/dynamic-dns-cloudflare
- Owner: endocrimes
- License: mit
- Created: 2019-07-15T15:31:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-15T15:32:02.000Z (almost 7 years ago)
- Last Synced: 2025-03-18T07:25:17.739Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# dynamic-dns-cloudflare
dynamic-dns-cloudflare is a small application that will update DNS records for
machines with dynamic IP addresses. Written to allow remote access to home test
machines.
It requires a record for `-domain` already exists in `-zone`.
Thanks to [tgross/dynamic-dns-route53][tgross-route53] for the idea to use DNS
to resolve the IP.
## Usage
### Environment Variables
| Name | Description |
| ---- | ----------- |
| `CF_API_KEY` | The cloudflare api token to use, it can be found [here][cf-account-page] |
| `CF_API_EMAIL` | The cloudflare login email |
### CLI Arguments
| Name | Description |
| ---- | ----------- |
| `-zone` | The zone the domain is registered against |
| `-domain` | The domain name to update records for |
| `-interval` | The interval to update records at, default: run once |
[cf-account-page]: https://dash.cloudflare.com/profile
[tgross-route53]: https://github.com/tgross/dynamic-dns-route53