Skip to content
forked from uetchy/cfddns

Dynamic DNS client for Cloudflare.

License

Notifications You must be signed in to change notification settings

jameslawfer/cfddns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
# or just `yay -S cfddns`

cat << EOD > /etc/cfddns/domains
example.com
mail.example.com
example.org
EOD

vim /etc/cfddns/cfddns.yml # assign `token`

systemctl enable --now cfddns

pip

pip install cfddns

Build from source

git clone https://github.com/uetchy/cfddns.git && cd cfddns
poetry install --build

About

Dynamic DNS client for Cloudflare.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%