aliddns

Aliyun(Alibaba Cloud) ddns for golang


Keywords
aliddns, aliyun, asus-merlin, brew, ddns, deb, docker, go, homebrew, ipv4, ipv6, linux, macos, openwrt, padavan, pandorabox, rpm, scoop, snapcraft, windows
License
MIT
Install
brew install aliddns

Documentation

aliddns

Build Status

Get it from the Snap Store

aliddns -c /path/to/config/file/aliddns.yaml

or just:

aliddns

(use default config file: ./aliddns.yaml)

or:

 aliddns run -i myid -k mykey -m iothub.cloud -s www -c 60

-i {AccessId} -k {AccessKey} -m {MainDomain} -s {SubDomainName} -c {CheckUpdateInterval}

You can install the pre-compiled binary (in several different ways), use Docker.

Here are the steps for each of them:

Install the pre-compiled binary

homebrew tap :

$ brew install OpenIoTHub/tap/aliddns

homebrew (may not be the latest version):

$ brew install aliddns

snapcraft:

$ sudo snap install aliddns

config file path: /root/snap/aliddns/current/aliddns.yaml

edit config file then:

sudo snap restart aliddns

scoop:

$ scoop bucket add OpenIoTHub https://github.com/OpenIoTHub/scoop-bucket.git
$ scoop install aliddns

deb/rpm:

Download the .deb or .rpm from the releases page and install with dpkg -i and rpm -i respectively.

config file path: /etc/aliddns/aliddns.yaml

edit config file then:

sudo systemctl restart aliddns

Shell script:

$ curl -sfL https://install.goreleaser.com/github.com/OpenIoTHub/aliddns.sh | sh

manually:

Download the pre-compiled binaries from the releases page and copy to the desired location.

Running with Docker

You can also use it within a Docker container. To do that, you'll need to execute something more-or-less like the following:

$ docker run openiothub/aliddns:latest run -i {AccessId} -k {AccessKey} -m {MainDomain} -s {SubDomainName} -c {CheckUpdateInterval}

example:

$ docker run openiothub/aliddns:latest run -i myid -k mykey -m iothub.cloud -s www -c 60

Note that the image will almost always have the last stable Go version.