Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

cfddns-1.5.0-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page