1 Star 5 Fork 1

左手代码右手诗 / z4-ddns

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

阿里云ddns解析

  • 环境变量说明
//阿里云 ak/sk : 获取方式 阿里云首页-我的-accessKey管理页面创建
DDNS_ALI_AK=""
DDNS_ALI_SK=""

//ipv6 对应域名 - 修改成自己的
DDNS_IP6_DOMAIN="ipv4.kk.top"
//ipv4 对应域名 - 修改成自己的
DDNS_IP4_DOMAIN="ipv6.kk.top"

//可选参数- ipv4 和 ipv6 第三方获取ip的api. 如果系统默认失效了,尝试设置该参数
DDNS_IP4_API=""
DDNS_IP6_API=""

//暂支持 ftqq:方糖 或 pushplus(推荐)
DDNS_PUSH_TYPE = "pushplus" //ftqq|pushplus
//pushplus生成的token(青龙自带该变量,请直接填写)
PUSH_PLUS_TOKEN = "" 
//方糖生成的key(青龙自带该变量,请直接填写)
PUSH_KEY="" # 方糖的key
  • 青龙面板使用方式
  1. 创建任务

任务名称: "阿里云ddns"

任务命令: ql repo https://gitee.com/god007/z4-ddns.git 'script' 'code'

任务规则: 0 2 * * * *

MIT License Copyright (c) 2021 左手代码右手诗 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

阿里云 ddns脚本-支持青龙面板 展开 收起
TypeScript 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/god007/z4-ddns.git
git@gitee.com:god007/z4-ddns.git
god007
z4-ddns
z4-ddns
master

搜索帮助