docs: 更新README,添加Cloudflare配置和ipList示例

This commit is contained in:
2026-04-12 01:18:54 +08:00
parent 45b6f138e1
commit 0e4906977c

View File

@@ -1,3 +1,28 @@
# 定时获取ip
ip变化了修改dns解析。
## cloudflare
必须要的参数
- zone_id
- domain
- api_token
flag为 1 时更新ipv4地址
flag为 2 时更新ipv6地址
flag为 3 时更新ipv4和ipv6地址
## ipList
可以直接指定要更新的记录列表,格式如下:
```json
"ipList": [
{
"type": "AAAA",
"domain": "sub.example.com",
}
]
```