https://github.com/kallydev/cloudflare-ddns
A CloudFlare DDNS service
https://github.com/kallydev/cloudflare-ddns
Last synced: 5 months ago
JSON representation
A CloudFlare DDNS service
- Host: GitHub
- URL: https://github.com/kallydev/cloudflare-ddns
- Owner: kallydev
- License: mit
- Created: 2020-07-14T07:10:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-14T08:48:35.000Z (over 5 years ago)
- Last Synced: 2025-03-09T22:51:35.472Z (10 months ago)
- Language: Go
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CloudFlare-DDNS


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