Skip to content

nixberg/ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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=""