Files
Copilot 7490657d82 Use HTTP ipify URL in documentation examples (#694)
* 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>
2026-06-12 19:51:59 +08:00

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__&timestamp=__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"
}
}