aliyun-ddns

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

aliyun-ddns

sync dns record via upstream domain.

Concept

Smart router , NAS can provide free DDNS, but can only provide secondary domain.
If you want to use your own domain ,you can't simply config on that.
The whole point of DDNS is update the record when the ip is changed.
So we can simply use the free DDNS and watch the change of ip.
When the change is made ,we can update our domain record.

Build

go get -u github.com/l1b0k/aliyun-ddns
## arm
CGO_ENABLE=0 GOARCH=arm GOOS=linux go build -o dns main.go

Usage

run with systemd

Raspberry Pi demo

sudo cp dns.system /usr/lib/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable dns
sudo systemctl start dns

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
addr

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL