mirror of
https://github.com/NewFuture/DDNS.git
synced 2026-10-20 08:17:43 +00:00
* fix(ip): remove unavailable ipify cn endpoint * test(ip): avoid substring matching in fallback test * fix(ip): remove unavailable ipw endpoints * fix(ip): add ddnsip public endpoints * docs: use http ipify URL in examples --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
30 lines
1006 B
JSON
30 lines
1006 B
JSON
{
|
|
"$schema": "https://ddns.newfuture.cc/schema/v4.1.json",
|
|
"dns": "callback",
|
|
"id": "https://postman-echo.com/post?test=ddns&domain=__DOMAIN__&ip=__IP__&type=__RECORDTYPE__×tamp=__TIMESTAMP__",
|
|
"token": "{\"api_key\": \"test_e2e\", \"domain\": \"__DOMAIN__\", \"ip_address\": \"__IP__\", \"record_type\": \"__RECORDTYPE__\", \"ttl\": \"__TTL__\", \"line\": \"__LINE__\", \"timestamp\": \"__TIMESTAMP__\", \"event\": \"ddns_update\", \"version\": \"v4.0\", \"source\": \"ddns_client_e2e_test\"}",
|
|
"ipv4": [
|
|
"ddns.newfuture.cc"
|
|
],
|
|
"index4": [
|
|
"url:https://api.ipify.org",
|
|
"url:http://api.myip.la",
|
|
"url:http://checkip.amazonaws.com",
|
|
"url:http://icanhazip.com",
|
|
"url:https://ifconfig.co/ip",
|
|
"url:https://api.ipify.org",
|
|
"url:https://ifconfig.me/ip"
|
|
],
|
|
"ipv6": [],
|
|
"index6": false,
|
|
"ttl": 300,
|
|
"line": "default",
|
|
"proxy": null,
|
|
"cache": false,
|
|
"ssl": "auto",
|
|
"log": {
|
|
"file": null,
|
|
"level": "DEBUG",
|
|
"datefmt": "%H:%M:%S"
|
|
}
|
|
} |