From 64121b28bf33e7b566b767f032a2887c688dcd18 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Sun, 6 Mar 2022 16:40:23 +0700 Subject: [PATCH] Create UpdaterConfig.example.json --- configs_example/UpdaterConfig.example.json | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 configs_example/UpdaterConfig.example.json diff --git a/configs_example/UpdaterConfig.example.json b/configs_example/UpdaterConfig.example.json new file mode 100644 index 0000000..4b474cd --- /dev/null +++ b/configs_example/UpdaterConfig.example.json @@ -0,0 +1,46 @@ +[ + { + "token": "{ENV_TOKEN:EXAMPLE_SITE_TOKEN}", + "updateInterval": 60, + "zone": [ + { + "id": "zone-id-1", + "type": "A", + "name": "example.com", + "content": "{CURRENT_IPv4}", + "ttl": 1, + "proxied": false + }, + { + "id": "zone-id-2", + "type": "AAAA", + "name": "another.example.com", + "content": "{CURRENT_IPv6}", + "ttl": 1, + "proxied": false + } + ] + }, + { + "token": "hard-code-cloudflare-token-2", + "updateInterval": 60, + "zone": [ + { + "id": "zone-id-1", + "type": "A", + "name": "example.com", + "content": "{CURRENT_IPv4}", + "ttl": 1, + "proxied": false + }, + { + "id": "zone-id-2", + "type": "A", + "name": "another.example.com", + "content": "{CURRENT_IPv6}", + "ttl": 1, + "proxied": false + } + ] + } +] \ No newline at end of file