DynDNS server & client in use with the DigitalOcean DNS.
- Python (+ flask, requests)
- Apache (+ mod_wsgi) (or any other WSGI capable software)
- bash
- curl
- Clone this repo into
/srv/dyndns - Copy
config_server.DEFAULT.pytoconfig_server.pyand adjust the values. - Copy
auth_keys.DEFAULTtoauth_keysand adjust the values (one key per line). - Symlink the wsgi conf to
/etc/httpd/conf/extra/dyndns_wsgi.conf - Put the line
Include conf/extra/dyndns_wsgi.confinto/etc/httpd/conf/httpd.conf(somewhere at the end). - Get rid of the SSL stuff if you don't want SSL, otherwise get yourself a certificate.
- Clone this repo somewhere.
- Copy
config.DEFAULT.shtoconfig.shand adjust the values. - Either run
./client.shor follow the next steps. - Symlink
dyndns.serviceto/etc/systemd/system/anddyndns.timerto/etc/systemd/system/ - Symlink
/etc/systemd/system/dyndns.timerto/etc/systemd/system/timers.target.wants/to enable the timer at boot. - Hope for the best!