CLOUDFLARE-DDNS(1)
π CLOUDFLARE-DDNS(1) β the cloudflare-ddns manual, but make it cute π
ok so bestie, this is cloudflare-ddns, a page from the General Commands Manual section 1. Sit down, grab a strawberry π, and let's get you fluent.
β¨ NAME β¨
cloudflare-ddns β dynamically update a DNS record
like. it updates your DNS record. dynamically. that's the whole job. slay.
πΈ SYNOPSIS πΈ
cloudflare-ddns [api_token record_name] [--config file]
that's it. that's the whole vibe check. π
π¦ DESCRIPTION π¦
okay so cloudflare-ddns is a tool that can be used to dynamically update a DNS record using Cloudflare's API. no cap. that's literally what it does.
This tool is a oneshot program: you run it, it updates the DNS record, and it terminates. it does its little task and then it's gone, main character energy but make it brief β¨. To make it run periodically you could use a systemd timer or a cron job. set it and forget it, periodt.
To run the tool you'll need an API token: https://dash.cloudflare.com/profile/api-tokens; cloudflare-ddns only needs the Zone.DNS edit permission. that's it, that's the only permission it's asking for, lowkey minimal π.
You can run cloudflare-ddns in two different ways, and honestly pick whichever one is giving more:
- you can pass the API Token and the record name as command line arguments, or
- you can use the ini configuration file located in
/etc/cloudflare-ddns/config.iniby passing no arguments at all.
If you prefer, you can even use a configuration file in a custom location, using --config file. so many options, we love a flexible icon π
.
π EXIT STATUS π
The cloudflare-ddns utility exits 0 on success, and >0 if an error occurs.
so like, 0 = we ate, >0 = something is wrong and we're crying in the club π.
π EXAMPLES π
$ cloudflare-ddns
New IP: 149.20.4.15
look at her go. no notes. iconic. π₯
π§ SEE ALSO π§
your two besties for making this thing actually repeat itself. iykyk. π«Ά
π AUTHORS π
Andrea Pappacoda <andrea@pappacoda.it>
and that's the whole page, bestie!! π this one's from the Debian crew, dated 2022-08-22, and it's page CLOUDFLARE-DDNS(1) of the General Commands Manual β mwah, go update something dynamically, you've got this. πβ¨
π¦ where this page comes from
- debian trixie: cloudflare-ddns 2.1.0-3 Β· AGPL-3.0-or-later
- ubuntu noble: cloudflare-ddns 2.0.1-1build3 Β· AGPL-3.0-or-later
- ubuntu questing: cloudflare-ddns 2.1.0-3
- ubuntu resolute: cloudflare-ddns 2.1.0-3build1 Β· AGPL-3.0-or-later
- ubuntu stonking: cloudflare-ddns 2.1.0-3build1 Β· AGPL-3.0-or-later
- π the page's license: AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms