#ddns #client #dns

app ddns-cli

ddns client for cloudflare and dnspod

2 unstable releases

new 0.2.0 Nov 21, 2020
0.1.0 Dec 25, 2019

#40 in HTTP client

MIT/Apache

73KB
1.5K SLoC

Rust 1.5K SLoC // 0.0% comments Shell 209 SLoC // 0.2% comments PowerShell 16 SLoC // 0.2% comments

DDNS client

Linux Windows macOS
Build & Publish linux-badge windows-badge macos-badge

Docker: docker.io/owt5008137/ddns-cli

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

MIT or Apache License - 2.0

Dependencies

~22MB
~514K SLoC