Files
ddns-agent/readme.md

29 lines
386 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 定时获取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",
}
]
```