Skip to content

BarrenSea/rddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conventional Commits

Rust DDNS For NSD

Matrix

RDDNS

A DDNS Server with NSD DNS Server

Use

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

Client

You Can Use Curl with the server

DDNS

curl -X POST http://your-nsd-server-domain/ddns/your-domain-want-to-change/new-address/password
Example
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

Get your ip

curl -XGET http://your-nsd-server-domain/ddns/your-domain-want-to-change/new-address
Example
curl http://123.com/ip

Help

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

About

rust实现的适用于nsd的ddns服务器

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages