{{define "content"}} {{with .Data}} {{$e := .Errors}}{{$f := .Form}}

Keeps DNS records at your provider pointing at the router's internet addresses: it checks regularly and right away when the address changes (a new PPPoE session, a new lease). Uses ddclient; one provider account.

Provider
{{range $k := list "protocol" "server" "zone"}}{{with index $e $k}}

{{$k}}: {{.}}

{{end}}{{end}}
{{with index $e "secret"}}

{{.}}

{{end}}

Login is token for a Cloudflare API token (permission Zone → DNS → Edit). The secret is kept on the router in a private file, not in the settings.

Names {{with index $e "domains"}}

{{.}}

{{end}}
{{range $k := list "ipv4" "interval"}}{{with index $e $k}}

{{$k}}: {{.}}

{{end}}{{end}}

Last updates

{{if .Status.Log}}

ddclient: {{or .Status.State "unknown"}}{{if .Status.Last}}, last run {{.Status.Last}}{{end}}

{{.Status.Log}}
{{else}}

Nothing yet. Once applied, the log of ddclient shows up here.

{{end}}
{{end}} {{end}}