7 releases
0.3.3 | Jun 10, 2024 |
---|---|
0.3.1 | Apr 5, 2023 |
0.2.3 | Feb 26, 2022 |
0.2.1 | Jan 16, 2022 |
0.1.0 | Dec 25, 2019 |
#1148 in Network programming
79KB
2K
SLoC
DDNS client
Linux | Windows | macOS | |
---|---|---|---|
Build & Publish |
Docker: docker.io/owt5008137/ddns-cli
Install https://github.com/docker/buildx to use cross building.
Usage
# help
./ddns-cli -h
# You can get token from https://dash.cloudflare.com/profile/api-tokens and zone id from your domian zone page
./ddns-cli --get-ip-by-url https://myip.biturl.top/ --cf-domain <DOMAIN> --cf-token <Cloudflare TOKEN> --cf-zone-id <Cloudflare ZoneID>
# You can get token and token id from https://console.dnspod.cn/account/token
./ddns-cli --get-ip-by-url https://myip.biturl.top/ --dp-name <SUB DOAMIN NAME> --dp-domain <BASE DOMAIN NAME> --dp-token <Dnspod TOKEN> --dp-token-id <Dnspod token id>
docker/podman pull docker.io/owt5008137/ddns-cli:latest
docker/podman run ddns-cli ddns-cli --get-ip-by-url https://myip.biturl.top/ --cf-domain <DOMAIN> --cf-token <Cloudflare TOKEN> --cf-zone-id <Cloudflare ZoneID>
docker/podman run ddns-cli ddns-cli --get-ip-by-url https://myip.biturl.top/ --dp-name <SUB DOAMIN NAME> --dp-domain <BASE DOMAIN NAME> --dp-token <Dnspod TOKEN> --dp-token-id <Dnspod token id>
LICENSE
Dependencies
~22–38MB
~715K SLoC