Self-written DynDNS client & server for DigitalOcean DNS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
auth_keys.DEFAULT
client.sh
config.DEFAULT.sh
config_server.DEFAULT.py
dyndns.py
dyndns.service
dyndns.timer
dyndns.wsgi
dyndns_wsgi.conf
symlink_systemd_client.sh

README.md

DynDNS

DynDNS server & client in use with the DigitalOcean DNS.

Requirements (Server)

  • Python (+ flask, requests)
  • Apache (+ mod_wsgi) (or any other WSGI capable software)

Requirements (Client)

  • bash
  • curl

Setup (Server)

  • Clone this repo into /srv/dyndns
  • Copy config_server.DEFAULT.py to config_server.py and adjust the values.
  • Copy auth_keys.DEFAULT to auth_keys and 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.conf into /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.

Setup (Client)

  • Clone this repo somewhere.
  • Copy config.DEFAULT.sh to config.sh and adjust the values.
  • Either run ./client.sh or follow the next steps.
  • Symlink dyndns.service to /etc/systemd/system/ and dyndns.timer to /etc/systemd/system/
  • Symlink /etc/systemd/system/dyndns.timer to /etc/systemd/system/timers.target.wants/ to enable the timer at boot.
  • Hope for the best!