DDNS client for Cloudflare DNS
Project description
cfddns
Dynamic DNS client for Cloudflare DNS.
Usage
cat << EOD > domains
example.com
mail.example.com
example.org
EOD
cat <<EOD > cfddns.yml
token: "<CloudFlare API token>"
interval: 900 # in seconds (optional)
endpoint: "https://api.ipify.org" # (optional)
EOD
cfddns -c cfddns.yml domains
Install
Arch Linux
Install cfddns
via AUR.
git clone https://aur.archlinux.org/cfddns.git && cd cfddns
makepkg -si
cat << EOD > /etc/cfddns/domains
example.com
mail.example.com
example.org
EOD
vim /etc/cfddns/cfddns.yml # assign `token`
systemctl enable --now cfddns
Build from source
git clone https://github.com/uetchy/cfddns.git && cd cfddns
poetry install --build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cfddns-1.5.0.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file cfddns-1.5.0.tar.gz
.
File metadata
- Download URL: cfddns-1.5.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.9 CPython/3.8.6 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a880d346d0199a3a578fa47b3ca8b5ed117900d8ba13caccd6d8116aede16c1 |
|
MD5 | 88ad6e8e36043a9d65b93ef29ecd2685 |
|
BLAKE2b-256 | 81e221e9ff2facedef4c08b0df40c619c320c52856c58e4ff8af9f21790f2fcd |
File details
Details for the file cfddns-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: cfddns-1.5.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.9 CPython/3.8.6 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78a4cf24e4b166e02ce8fe292be6cdce604bdb8e8989e7bb8e1b6698a4d032d |
|
MD5 | 17e934b61f3d05960620bd12c42b7e60 |
|
BLAKE2b-256 | 3dccd0e8a1c482d3c64c751499c4445438724f09f17989da1a8e49bdf55cd3e8 |