Coder Social home page Coder Social logo

cf-speed-dns's Introduction

cf-speed-dns是什么?

CloudflareSpeedTest 推送「每5分钟自选优选 IP」获取Cloudflare CDN 延迟和速度最快 IP !

cf-speed-dns有哪些功能?

  • CloudflareSpeedTest优选IP,实时更新列表页面。https://ip.164746.xyz
  • CloudflareSpeedTest优选IP,Top接口。https://ip.164746.xyz/ipTop.html
  • DNSPOD实时域名解析推送,fork 本项目。
    • Action配置,Actions secrets and variables 添加 DOMAIN(例如:164746.xyz),SUB_DOMAIN(例如:dns),SECRETID(xxxxx),SECRETKEY(xxxxx),PUSHPLUS_TOKEN(xxxxx)。
  • DNSCF实时域名解析推送,fork 本项目。
    • Action配置,Actions secrets and variables 添加 CF_API_TOKEN(例如:xxxxx),CF_ZONE_ID(例如:xxxxx),CF_DNS_NAME(dns.164746.xyz),PUSHPLUS_TOKEN(xxxxx)。
  • 接入PUSHPLUS消息通知。https://www.pushplus.plus/push1.html

接口请求

curl 'https://ip.164746.xyz/ipTop.html'

接口返回

104.16.204.6,104.18.103.125

感谢

XIU2ddgth

cf-speed-dns's People

Contributors

zhixuanwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cf-speed-dns's Issues

大佬求助啊

github工作流不太会用,网上也没有太多教程,大佬能不能从fork那开始每步截个图,标注一下,简单描述几句啊,我是纯小白,但是对代码天生感兴趣,现在是用GPT写了个脚本自动到CF域名的,但是VPS可能不太稳定。再次谢谢大佬盼大佬回复

没有DNSCF实时域名解析推送

添加了CF_API_TOKEN(写DNS)、CF_ZONE_ID(我的域名623057.xyz下的ID)、CF_DNS_NAME(dns.623057.xyz)这3个secrets,PUSHPLUS_TOKEN这个推送的没添加
action成功,dns.623057.xyz下没有IP
请求解惑指导

DNSPod报错

key没问题,提示这个。搞了半小时搞不定。加了几个解析地址让他替换也不行。

Run python dnspod.py
build_info success: ---- Time: 2024-03-05 05:41:30 ---- ip:[]
Traceback (most recent call last):
  File "dnspod.py", line 98, in <module>
    dns = change_dns(cloud, info[index]["recordId"], ip_address)
IndexError: list index out of range
Error: Process completed with exit code 1.

感谢项目

顺便问一下,这个ip是你测的,还是走cf2cdn项目的付费api?

咋用

大哥,这个自动更新到域名上怎么用啊,求教,一直配置不好

dnspod.py报错IndexError: list index out of range

build_info success: ---- Time: 2024-06-30 12:07:54 ---- ip:[{'recordId': 1808227159, 'value': '104.17.197.1'}]
change_dns success: ---- Time: 2024-06-30 12:07:56 ---- ip:104.17.197.1
Traceback (most recent call last):
File "dnspod.py", line 98, in
dns = change_dns(cloud, info[index]["recordId"], ip_address)
IndexError: list index out of range
Error: Process completed with exit code 1.

教程

赞成,出个视频教程吧,谢谢

dnscf报错,大佬能帮忙看看原因吗,action的值都设置了

Run python dnscf.py
Error fetching DNS records: {"success":false,"errors":[{"code":10000,"message":"Authentication error"}]}

Traceback (most recent call last):
File "dnscf.py", line 101, in
main()
File "dnscf.py", line 95, in main
dns = update_dns_record(dns_records[index], CF_DNS_NAME, ip_address)
TypeError: 'NoneType' object is not subscriptable
Error: Process completed with exit code 1.

IP停止更新了

大佬好,昨天开始ip停止更新了,请问后面还会维护吗?

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.