forked from Hentra/dyndns-netcup-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.yml
43 lines (37 loc) · 1.67 KB
/
example.yml
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
CUSTOMERNR: 12345
APIKEY: 'yourapikey'
APIPASSWORD: 'yourapipassword'
# Location of the cache file. Leave empty for default location.
# The default location is picked according to your OS. For example
# on Unix sytems it will use $XDG_CACHE_HOME or $HOME/.cache.
IP-CACHE: '/home/user/.cache/dyndns.cache'
# Time in seconds on how long to wait until rechecking the netcup DNS records.
# If the cache file hasn't been touched for the specified amount of seconds the program
# will refetch the DNS records and compare the ip addresses.
#
# To disable the cache set the value to 0.
IP-CACHE-TIMEOUT: 3600
# Services to query for the current IPv4 or IPv6 address.
# The differentiation between IPv4 and IPv6 has to be made by the service.
IPV4-SERVICE: "https://api.ipify.org?format=text"
IPV6-SERVICE: "https://api6.ipify.org?format=text"
DOMAINS:
- NAME: 'example.de' # Your domain name without any subdomains.
IPV6: true # Whether the 'AAAA' entries of this host should be
# updated with the IPv6 address or not.
IPV4: true # Whether the 'A' entries of this host should be
# updated with the IPv4 address or not. This option defaults
# to true when not present.
TTL: 300 # Time to live for this zone. Around 300 is good for dyndns.
HOSTS: # Every host that should get your public ip
- '@'
- '*'
- 'cool.subdomain' # You could also specify subdomains longer than this.
- NAME: 'example.com'
IPV6: false
IPV4: true
TTL: 350
HOSTS:
- '@'
# You can add how many domains as you like. Keep in mind that more domains also
# means more requests -> more time.