Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 514 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 514 Bytes

ddns

Cloudflare DDNS client

Usage

Initially, the config is empty and the daemon is stopped.

Example config

apiToken = "<TOKEN>"
zoneID = "<ID>"
recordNames = ["example.test", "sub.example.test"]

Starting the daemon

Bash

> sudo snap set ddns config="$(cat ddns.toml)"

Fish

> read -z config < ddns.toml
> sudo snap set ddns config=$config

Stopping the daemon

> sudo snap stop ddns

Or:

> sudo snap set ddns config=""