pddnsc/settings/config.toml

32 lines
681 B
TOML
Raw Normal View History

2024-01-31 20:46:08 +00:00
debug = true
require_ipv4 = true
2024-01-31 20:46:08 +00:00
[sources]
2024-02-20 07:40:23 +00:00
[sources.ipfy]
2024-01-31 20:46:08 +00:00
provider = "IPIFYSource"
[sources.wtf]
provider = "WTFIsMyIP"
2024-02-20 07:40:23 +00:00
[sources.fake]
2024-01-31 20:46:08 +00:00
provider = "FakeSource"
2024-02-20 07:40:23 +00:00
delay = 10
2024-01-31 20:46:08 +00:00
ipv6 = "fe80::1"
2024-02-20 07:15:48 +00:00
[filters]
2024-02-20 07:40:23 +00:00
[filters.state-file]
provider = "StateFileFilter"
filepath = "state/state.json"
check_ipv4 = true
2024-02-20 07:15:48 +00:00
[filters.state-hash]
provider = "StateHashFilter"
filepath = "state/hash.txt"
2024-02-20 07:40:23 +00:00
2024-01-31 20:46:08 +00:00
[outputs]
2024-02-19 14:12:36 +00:00
[outputs.print]
2024-01-31 20:46:08 +00:00
provider = "JustPrint"
2024-02-20 07:40:23 +00:00
[outputs.state-file]
2024-02-19 14:12:36 +00:00
provider = "StateFile"
filepath = "state/state.json"
[outputs.hash-file]
provider = "StateHashFile"
filepath = "state/hash.txt"