pddnsc/settings/config.toml

44 lines
1.1 KiB
TOML
Raw Normal View History

2024-02-25 12:42:21 +00:00
debug = false
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-21 13:07:10 +00:00
[sources.ipsb]
provider = "IPSB"
2024-02-25 12:42:21 +00:00
[sources.checkip_dyndns]
provider = "GenericHttpRegexSource"
url_v4 = "http://checkip.dyndns.org/"
#regex_v4 = "\\b\\d{1,3}(\\.\\d{1,3}){3}\\b"
2024-02-21 13:04:05 +00:00
[sources.ifconfig]
provider = "GenericHttpSource"
url_v4 = "https://ifconfig.me/ip"
url_v6 = "https://ifconfig.me/ip"
[sources.ipconfig]
provider = "GenericHttpJsonSource"
url_v4 = "https://ipconfig.io/json"
url_v6 = "https://ipconfig.io/json"
key_v4 = "ip"
key_v6 = "ip"
2024-01-31 20:46:08 +00:00
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-21 13:04:05 +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"
2024-02-21 13:04:05 +00:00
#[outputs.hash-file]
# provider = "StateHashFile"
# filepath = "state/hash.txt"