-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.config.toml
36 lines (33 loc) · 1.23 KB
/
example.config.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
[log]
# Log level. One of "debug", "info", "warn", "error".
level = "debug"
# Log output format. One of "json" or "text".
format = "text"
# Include source filenames and line numbers in the log output.
caller = true
[[notification]]
# Shoutrrr service url (see https://github.com/containrrr/shoutrrr).
url = "slack://token:token@channel/"
[[nameserver]]
provider = "cloudflare"
# Profile > API Tokens > Create Token
# The token must have the permission to edit the required zone(s), but nothing else.
# Do not use the Global API Key!
credentials = "${DYNFLARE_CLOUDFLARE_TOKEN}"
# List of zones this nameserver is responsible for.
zones = ["example.com"]
[[domain]]
# The domain record to update.
name = "raspberry-pi.example.com"
# Zone is the zone name matching a configured nameserver.
zone = "example.com"
# A for IPv4
# AAAA for IPv6
kind = "AAAA"
# What network interface to search for an ip on.
# See `ip address`.
interface = "eth0"
# Suffix is optional and used to filter ip candidates based on suffix.
# The "suffix" is parsed as a full ip but matched by the inversed subnet mask.
# This is basically the part after the network prefix assigned by the isp.
suffix = "::1234:1234:1234:1234"