A CloudFlare DDNS service.
- Build from source
You need to install upx-ucl
and p7zip-full
, the compiled files are located in the release
folder.
git clone https://github.com/kallydev/cloudflare-ddns
cd cloudflare-ddns
bash script/build.sh --release
If you need to enable TLS
, please see config.json.
- Client example
{
"cloud_flare": {
"key": "b57a34a824e81f05c6fee5be3cef10f015665"
},
"client": {
"server": "example.com:50051",
"domain": "www.example.com"
}
}
- Server example
{
"cloud_flare": {
"email": "[email protected]",
"key": "b57a34a824e81f05c6fee5be3cef10f015665",
"zone_id": "c0a6482d6cb17960b5bfdfa3d256f5f1",
"account_id": "95cbb560688820be3be3e08571da12b4"
},
"server": {
"host": "0.0.0.0",
"port": 50051
}
}
- Server
./cloudflare-ddns_linux_amd64 server -c config.json
- Client
./cloudflare-ddns_linux_amd64 client -c config.json
Copyright (c) KallyDev. All rights reserved.
Licensed under the MIT license.