Coder Social home page Coder Social logo

cloudflarespeedtestddns's Introduction

CloudflareSpeedTestDDNS

使用CloudflareSpeedTest工具优选IP后自动DDNS到Cloudflare

简易教程

1.下载并解压脚本(载体可以是openwrt,或其他linux)

2.填写config.conf配置文件

3.运行脚本

bash start.sh

详细使用教程请参考详细教程

Docker运行

https://hub.docker.com/r/lee1080/cfstddns

更新日志

20231004

优化测速指定端口判断。

优化cloudflare配置。

新增单个IP下载测速最长时间配置。

修复反代IP线路并新增一条线路。

更早的更新日志

「 点击展开 查看更早的更新日志 」

V2.3

适配XIU2/CloudflareSpeedTest:v2.2.4 | 新增自定义测速地址端口支持

新增PushPlus推送。

优化更新规则,测速为0则跳过域名更新。

v2.2

更改文件结构。

新增了dnspod DNS服务商支持。

新增了docker版。docker版不能自动停止路由器的科学插件,请将docker配置到没有科学环境的设备使用。

增加了pushdeer推送、企业微信推送、Server酱、Synology Chat。

增加了更新到hosts模式

v2.1.1

新功能,支持更新优选完毕后推送至TG,再也不怕脚本没有成功运行了。

新增openwrt专用cf_RE.sh文件,运行cf_RE.sh即可在openwrt安装jqtimeout两个扩展。

v2.1

适配XIU2/CloudflareSpeedTest v2.1.0 修改ipv6测速策略

v2.0

添加了多域名支持

可以在hostname中填入多个域名。使用CloudflareSpeedTest工具得出优选IP列表后,脚本支持依次从速度最快的ip开始DDNS,域名数量可更具自己需求填写。

优化科学上网插件重启时机


原理

使用Cloudflare的API,将CloudflareSpeedTest工具优选到的最快IP,自动更新到指定域名上。

存在问题

.tk .ml .ga .cf .gq这几个域名可能存在无法调用CloudflareAPI。

感谢

感谢以下小伙伴一起更正和完善代码

cloudflarespeedtestddns's People

Contributors

lee1080 avatar stephenzwj avatar jason6111 avatar nigel-ni avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.