Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markjay4k/cfddns
Dynamic DNS through Cloudflare python API
https://github.com/markjay4k/cfddns
Last synced: 12 days ago
JSON representation
Dynamic DNS through Cloudflare python API
- Host: GitHub
- URL: https://github.com/markjay4k/cfddns
- Owner: markjay4k
- License: unlicense
- Created: 2023-11-29T04:28:04.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-10T18:18:21.000Z (9 months ago)
- Last Synced: 2024-02-10T19:29:04.001Z (9 months ago)
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloudflare Dynamic DNS (CFDDNS)
A simple example dynamic DNS application that uses the python-cloudflare API to
create an IPV4 record that points to your public IP address. It periodically
runs and updates the record whenever your IP changes.__WARNING: use at your own risk. this will make changes to your DNS records in
Cloudflare.__## Requirements
- Fully qualified domain name (FQDN) using Cloudflare's nameservers
- CF API token to edit DNS records
- DNS zone ID## Install
### Docker
```shell
git clone https://github.com/markjay4k/cfddns.git
cd cfddns
```add the following values to the environment variables in the `docker-compose.yaml` file,
or add them to a `.env` file.- `CF_API_TOKEN`
- `CF_ZONE_ID`
- `CF_IPV4_RECORD`
- `CF_RECORD_TYPE`
- `CF_PROXIED`Start the container with docker compose
```shell
docker compose up -d
```