Crates.io | rddns |
lib.rs | rddns |
version | 0.1.1 |
source | src |
created_at | 2024-06-16 12:01:10.576896 |
updated_at | 2024-06-16 13:47:24.812609 |
description | DDNS Server and Client for Nsd |
homepage | |
repository | https://github.com/barrensea/rdns |
max_upload_size | |
id | 1273475 |
size | 92,638 |
Rust DDNS For NSD
Matrix
A DDNS Server with NSD DNS Server
You Can Build from source
git clone https://github.com/barrensea/rddns && cd rddns
cargo build --release
./target/release/rddns --nds /etc/nsd/zone/example.zone
Or use cargo install
cargo instasll rddns
You Can Use Curl with the server
curl -X POST http://your-nsd-server-domain/ddns/your-domain-want-to-change/new-address/password
curl -XPOST http://123.com/ddns/www.123.com./123.123.123.123/password
curl -XPOST http://123.com/ddns/www/123.123.123.123/mypassword
curl -XPOST http://123.com/ddns/www/$(curl -XGET http://123.com/ip)/mypassword
curl -XGET http://your-nsd-server-domain/ddns/your-domain-want-to-change/new-address
curl http://123.com/ip
DDNS Server and Client for Nsd
Usage: rddns [OPTIONS] --nsd <nsd> --auth <AUTH>
Options:
-l, --listen <listen> [default: 0.0.0.0:3000]
-n, --nsd <nsd>
-w, --workers <WORKERS> [default: 1]
-a, --auth <AUTH>
-h, --help Print help
-V, --version Print version