-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
示例中的 cf-srv.py 失效 #98
Comments
我测试了一下还能用啊 |
我这边测试不行(
因为我前一段时间也是这么用的,自己机子上环境应该是没有什么变化,然后去 Cloudflare 那边看了一下就是 15 号左右禁用的旧 api |
刚刚又去看了一下 @Droid-MAX 所以你过会再试估计就不行了( |
https://github.com/MasterOfStar/Natter/blob/patch-1/natter-docker/minecraft/cf-srv.py |
@MasterOfStar 看起来确实不太能用(
|
修了下再试试? |
可能是分地区逐步应用更新的,我这边现在还是可以用的,6.17/19:27 |
@MasterOfStar 现在不会报错了,但是看了下传的还是不太对 这样改完就没问题了,测试一切正常 data={
"data": {
"port": port,
"priority": priority,
"target": target,
"weight": weight
},
"name": f"{service}{protocol}.{name}",
"proxied": False,
"type": "SRV",
"ttl": ttl
}, |
{service}跟{protocol}中间不用加.么? |
应该是我漏了来着,但是我没记错的话之前我没加.也是没问题的 |
没加.能正常更新srv记录?不能吧,我试过 |
差不多从昨天开始,
cf-srv.py
脚本就无法正常工作了查了一下,应该是 Cloudflare 改了 api 导致的
Name-Related Data Fields on SRV (DNS) Records - API deprecations - Cloudflare Fundamentals docs
自己试着修复了下没改好,就先开个 issue 在这里吧(
The text was updated successfully, but these errors were encountered: