https://github.com/awnumar/cfddns
Free dynamic DNS backed by Cloudflare
https://github.com/awnumar/cfddns
cloudflare cloudflare-api cloudflare-ddns cloudflare-dns dns dynamic-dns
Last synced: 7 months ago
JSON representation
Free dynamic DNS backed by Cloudflare
- Host: GitHub
- URL: https://github.com/awnumar/cfddns
- Owner: awnumar
- License: bsd-3-clause
- Created: 2019-07-14T21:13:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-14T21:29:36.000Z (over 6 years ago)
- Last Synced: 2025-01-24T17:32:08.583Z (about 1 year ago)
- Topics: cloudflare, cloudflare-api, cloudflare-ddns, cloudflare-dns, dns, dynamic-dns
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Usage
### From command line:
```
./cfddns.py zone record email api_key
```
```
./cfddns.py example.com ssh.example.com me@example.com 0123456789abcdef
```
You are able to add this to your system's crontab file to schedule the update procedure to run regularly. See [usage](https://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/) and [commands](https://crontab.guru/).
### From script:
```
# Returns timestamp on success, None on failure.
cfddns.update(zone, record, email, api_key)
```
```
cfddns.update("example.com", "ssh.example.com", "me@example.com", "0123456789abcdef")
```