logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cloudflare-ddns — dynamically update a DNS record

Authors

       Andrea Pappacoda <andrea@pappacoda.it>

Debian                                             2022-08-22                                 CLOUDFLARE-DDNS(1)

Description

cloudflare-ddns is a tool that can be used to dynamically update a DNS record using Cloudflare's API.

       This  tool is a oneshot program: you run it, it updates the DNS record, and it terminates. To make it run
       periodically you could use a systemd timer or a cron job.

       To run the tool you'll need an APItoken: https://dash.cloudflare.com/profile/api-tokens; cloudflare-ddns
       only needs the Zone.DNS edit permission.

       You can run cloudflare-ddns in two different ways: 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.ini by passing no arguments at all.  If  you  prefer,  you  can  even  use  a
       configuration file in a custom location, using --configfile.

Examples

       $ cloudflare-ddns
       New IP: 149.20.4.15

Exit Status

       The cloudflare-ddns utility exits 0 on success, and >0 if an error occurs.

Name

       cloudflare-ddns — dynamically update a DNS record

See Also

cron(8) systemd.timer(5)

Synopsis

cloudflare-ddns [api_tokenrecord_name] [--configfile]

See Also