All Projects → EngrZhou → CloudFlare-DDNS-Script

EngrZhou / CloudFlare-DDNS-Script

Licence: other
CloudFlare-DDNS-Script Support LEDE/Openwrt with IPv4/IPv6

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to CloudFlare-DDNS-Script

Lede Ar71xx Optimized Archer C7 V2
TP-Link Archer C7 V2 AC1750 Optimized LEDE Firmware
Stars: ✭ 176 (+340%)
Mutual labels:  openwrt, lede
Xfrp
xfrps&frp client for openwrt&LEDE
Stars: ✭ 205 (+412.5%)
Mutual labels:  openwrt, lede
Xfrps
xfrps fork from frp but mainly use its server side feature and cooperate with xfrp
Stars: ✭ 179 (+347.5%)
Mutual labels:  openwrt, lede
Xluci2
DEPRECATED. xLuCI2 is a JavaScript Webgui for embedded devices running OpenWRT or LEDE
Stars: ✭ 148 (+270%)
Mutual labels:  openwrt, lede
Lede
Lean's OpenWrt source
Stars: ✭ 19,062 (+47555%)
Mutual labels:  openwrt, lede
Familycloudspeederinshell
[ 天翼家庭云/天翼云盘提速 Shell 版 ] A Shell Implementation of FamilyCloudSpeeder, ESurfing
Stars: ✭ 154 (+285%)
Mutual labels:  openwrt, lede
Openwrt Pcap dnsproxy
Pcap_DNSProxy for OpenWrt/LEDE
Stars: ✭ 204 (+410%)
Mutual labels:  openwrt, lede
Luci App Xlnetacc
OpenWrt/LEDE LuCI for XLNetAcc (迅雷快鸟)
Stars: ✭ 95 (+137.5%)
Mutual labels:  openwrt, lede
Ddns Scripts aliyun
OpenWrt/LEDE DDNS support for aliyun (阿里云)
Stars: ✭ 224 (+460%)
Mutual labels:  openwrt, lede
Django Netjsonconfig
Configuration manager for embedded devices, implemented as a reusable django-app
Stars: ✭ 213 (+432.5%)
Mutual labels:  openwrt, lede
lede-dockercompiler
Docker image to compile LEDE/OpenWrt from source
Stars: ✭ 21 (-47.5%)
Mutual labels:  openwrt, lede
cloudflare-ddns
A script to update your Cloudflare DNS records at a glance.
Stars: ✭ 152 (+280%)
Mutual labels:  cloudflare, cloudflare-ddns
Openwrt Shadowsocksr
ShadowsocksR-libev for OpenWrt/LEDE
Stars: ✭ 136 (+240%)
Mutual labels:  openwrt, lede
Netjson
NetJSON is a data interchange format for encoding the basic building blocks of networks.
Stars: ✭ 171 (+327.5%)
Mutual labels:  openwrt, lede
Fast Path Lede Openwrt
PLEASE GO TO NEW OPENWRT TRUNK BASED SFE FIRMWARE ->
Stars: ✭ 96 (+140%)
Mutual labels:  openwrt, lede
Evmongoose
DEPRECATED. Evmongoose is an asynchronous, event(libev) based multi-protocol embedded networking library with functions including TCP, HTTP, WebSocket, MQTT and much more. It's based on mongoose and libev implementation and it's support Lua API.
Stars: ✭ 199 (+397.5%)
Mutual labels:  openwrt, lede
Actions Openwrt K2p
Use Github Actions to automatically compile Lean's Modified Lede source for K2P
Stars: ✭ 67 (+67.5%)
Mutual labels:  openwrt, lede
Openwisp Firmware
A OpenWRT based firmware to be used with OpenWISP Manager
Stars: ✭ 86 (+115%)
Mutual labels:  openwrt, lede
Opkg Upgrade
List and install OpenWRT / LEDE opkg upgradable packages
Stars: ✭ 215 (+437.5%)
Mutual labels:  openwrt, lede
cloudflare-ddns-script
CloudFlare ddns / 树莓派IPV6 DDNS解决方案
Stars: ✭ 94 (+135%)
Mutual labels:  cloudflare, cloudflare-ddns

CloudFlare-DDNS-Script

CloudFlare 动态域名服务脚本,支持IPv4&IPv6

支持LEDE/OPENWRT,需要安装ca-bundle curl jq(opkg install ca-bundle curl jq)

或者手动指定jq路径 jq 工具,请在 https://stedolan.github.io/jq/download/ 下载适合自己的版本。

LEDE/OPENWRT 某些版本使用 opkg install jq 之后运行脚本出问题的情况,也可以尝试手动指定

#LEDE/Openwrt may need install ca-bundle curl(opkg install ca-bundle curl)

#Add you custom record to the CloudFlare first.

#Your sub domain
SUB_DOMAIN="sub.example.com"
#dash --> example.com --> Overview --> Zone ID:
#https://dash.cloudflare.com/_your_account_id_/example.com
ZONE_ID="5d41402abc4b2a76b9719d911017c592"
#API Tokens
#https://dash.cloudflare.com/profile/api-tokens
#Manage access and permissions for your accounts, sites, and products
#example.com- Zone:Read, DNS:Edit
TOKEN_ID="7d793037a076018657-_rZiTa4-f5xIgEvXxHNv"
#The path of jq binaries . Download from https://stedolan.github.io/jq/download/
#If the system has installed jq. Just typed jq.
#If you custom a special binary. Just typed the path of jq.
JQ_PATH="jq"
参数 含义
SUB_DOMAIN 待用的子域名
ZONE_ID 待使用域名概览页面的Zone ID值
TOKEN_ID https://dash.cloudflare.com/profile/api-tokens 页面的令牌(建议细分权限 example.com- Zone:Read, DNS:Edit)
JQ_PATH jq工具路径,LEDE/OPENWRT通过opkg安装的,则直接填写jq即可

注意事项

  • 使用脚本前,请先修改上述字段所对应的正确的值;

  • 请提前在CloudFlare控制台添加好相对应的纪录,本脚本只做更新,不做增加功能;

  • 如果想同时支持IPv4&IPv6,则需要在CloudFlare控制台添加两条纪录,一条Type为A,一条Type为AAAA;

License

Copyright 2020, Engineer Zhou

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].