Simple web application to accept dynamic updates by f.e. a fritzbox and set an a name record via cloudflares dns api.
go build -trimpath -ldflags=-buildid=
mkdir /opt/simple-dyndns
mv simple-dyndns /opt/simple-dyndns
chmod +x /opt/simple-dyndns/simple-dyndns
cp simple-dyndns.service /etc/systemd/system
systemctl daemon-reload
systemctl start simple-dyndns.service
(will fail because no config, but DynamicUser folders are created)- create config under
/var/lib/private/simple-dyndns/config.json
- (optional)
ln -s /var/lib/private/simple-dyndns/config.json /etc/simple-dyndns/config.json
systemctl enable --now simple-dyndns.service
- create a reverse proxy to expose
http://127.0.1.1:8080
to the internet
Field | Value |
---|---|
Update-URL | https://%hostname%(/%path%)?fqdn=<domain>&token=<pass>&ipv4=<ipaddr> Replace %hostname% and include %path% if applicable |
Domainname | The dyndns hostname that should be updated |
Benutzername | not used, just put none |
Kennwort | The web_token for the hostname |