-
Notifications
You must be signed in to change notification settings - Fork 1
/
do_ddns.sample.toml
79 lines (58 loc) · 1.96 KB
/
do_ddns.sample.toml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
## Common options
# How often should the domains be updated. Uses rust's humantime parsing rules.
update_interval = "30mins"
# Access token to use for DigitalOcean API calls.
digital_ocean_token = "aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz"
# Setting this option to true will cause the final IP updates to be skipped.
dry_run = false
# Setting this option to true will enable resolving of ipv6 addresses and
# storing them in AAAA records.
# ipv6 = true
# Enable collection of statistics (how often does the public IP change) in
# a local sqlite database.
# Disabled by default.
# collect_stats = true
# File path where the sqlite database with statistics will be stored.
# By default stored in one of the following locations:
# Linux: /home/<user>/.config/digitalocean-dyndns/dyndns_db.sqlite
# macOS: /Users/<user>/Library/Application Support/org.alcroito.digitalocean-dyndns/dyndns_db.sqlite
# database_path = "/tmp/dyndns_stats_db.sqlite"
# Enable web server to visualize collected statistics.
# Disabled by default.
# enable_web = true
# An IPv4 / IPv6 address or host name where to serve HTTP pages on.
# In case of host that has a dual IP stack, both will be used.
# Default is localhost.
# listen_hostname = true
# Port number where to serve HTTP pages on.
# Default is 8095.
# listen_port = 8095
## Simple config mode sample
# Updates the IP of the 'home.mysite.com' A record.
domain_root = "mysite.com"
subdomain_to_update = "home"
## Simple config mode sample
# Updates the IP of the 'mysite.com' A record.
# domain_root = "mysite.com"
# update_domain_root = true
## Advanced config mode sample
[[domains]]
name = "mysite.com"
# Updates home.mysite.com
[[domains.records]]
type = "A"
name = "home"
# Updates home-backup.mysite.com
[[domains.records]]
type = "A"
name = "home-backup"
[[domains]]
name = "mysecondsite.com"
# Updates mysecondsite.com
[[domains.records]]
type = "A"
name = "@"
# Updates crib.mysecondsite.com
[[domains.records]]
type = "A"
name = "crib"