/CloudflareSpeedTestDDNS

openwrt优选IP定时上传CF和dnspod

Primary LanguageShell

CloudflareSpeedTestDDNS

openwrt优选IP定时上传CF和dnspod
更多地区IP地址下载

食用说明

v0.0.1
1.下载CloudflareSpeedTest只保留ip.txtCloudflareST
2.下载CloudflareSpeedTestDDNS
3.将以上两个放到一个文件夹里上传到openwrt
4.安装所需插件bash``jq``coreutils-timeout
5.ssh连接openwrt进入对应目录chmod +x CloudflareST赋予权限
6.vi ip.sh 填写对应信息
6.1.点击网站-域名-区域ID-概述-右下角的区域ID
6.2.点击获取你的令牌-找到Global API Key-点击查看-验证密码后-将获取到的API密钥填入配置文件
7.bash ip.sh运行测试
8.openwrt设置定时计划例如6 0 * * * cd /mnt/nvme0n1p4/ip && bash ip.sh

v0.0.2
1.下载CloudflareSpeedTestDDNS并上传openwrt
2.设置config.conf
3.bash start.sh运行测试
4.openwrt设置定时计划例如6 0 * * * cd /mnt/nvme0n1p4/ip && bash start.sh