summaryrefslogtreecommitdiff
path: root/ddclient/ddclient.conf
blob: 4ab9662d2d1b4aaac949d57e4c2a1e0e76f87335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
use=web, web=api.ipify.org
protocol=cloudflare
ssl=yes
zone=galacticpants.net
login=niklasjo2004@gmail.com
password=REDACTED
galacticpants.net

# UPDATE (9-12-2026) to consolidate entire configuration
# BEGIN updated configuration

## CloudFlare (www.cloudflare.com)
##

daemon=600                      # check every 600 seconds
syslog=yes                      # log update msgs to syslog
mail=root                       # mail all msgs to root
mail-failure=root               # mail failed update msgs to root
# mail-from=root                # set the email "From:" header to "root".  If
                                # unset (the default) or empty, the from address
                                # depends on your system's default behavior.
pid=/var/run/ddclient.pid  # record PID in file.

ssl=yes # defaults to yes, but set it anyway to be sure
use=web
web='https://cloudflare.com/cdn-cgi/trace' # web address to GET containing public IP address
web-skip='ip='                             # skip through the text at the aforementioned address until after 'ip=' to find IP address

protocol=cloudflare,    \
zone=galacticpants.net, \
ttl=1,                  \
#login=token,
# Only needed if you are using your global API key. If you are using an API token, set it to "token" (without double quotes).
password='cfut_f0pdgq16IVuv8JJzkRTN19zycBVNvAvgJF0yUuPU0101e59c' \
# This is either your global API key, or an API token. If you are using an API token, it must have the permissions "Zone - DNS - Edit" and "Zone - Zone - Read". The Zone resources must be "Include - All zones".
galacticpants.net
# yes, the above line is required.

# END updated configuration