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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page