mirror of
https://github.com/timothymiller/cloudflare-ddns.git
synced 2026-03-21 14:38:56 -03:00
Use the shared provider abstraction for IPv4/IPv6 detection in legacy mode. Allow per-family provider overrides in config.json (ip4_provider / ip6_provider) and support disabling a family with "none". Update config parsing, examples, and the legacy update flow to use the provider-based detection client.
31 lines
620 B
JSON
Executable File
31 lines
620 B
JSON
Executable File
{
|
|
"cloudflare": [
|
|
{
|
|
"authentication": {
|
|
"api_token": "api_token_here",
|
|
"api_key": {
|
|
"api_key": "api_key_here",
|
|
"account_email": "your_email_here"
|
|
}
|
|
},
|
|
"zone_id": "your_zone_id_here",
|
|
"subdomains": [
|
|
{
|
|
"name": "",
|
|
"proxied": false
|
|
},
|
|
{
|
|
"name": "remove_or_replace_with_your_subdomain",
|
|
"proxied": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"a": true,
|
|
"aaaa": true,
|
|
"purgeUnknownRecords": false,
|
|
"ttl": 300,
|
|
"ip4_provider": "cloudflare.trace",
|
|
"ip6_provider": "cloudflare.trace"
|
|
}
|