Go to file
2026-01-29 20:42:43 +00:00
.gitignore Add .gitignore 2026-01-29 20:41:43 +00:00
config.json Add config.json 2026-01-29 20:39:12 +00:00
domains.txt Add domains.txt 2026-01-29 20:39:39 +00:00
ionos-ddns.service Add ionos-ddns.service 2026-01-29 20:40:43 +00:00
README.md Add README.md 2026-01-29 20:42:43 +00:00
requirements.txt Add requirements.txt 2026-01-29 20:40:12 +00:00
update_ddns.py Add update_ddns.py 2026-01-29 20:37:35 +00:00

IONOS DDNS Auto-Updater & Creator

A Python-based system service that automatically updates DNS records on IONOS. Unlike standard DDNS scripts, this solution uses the IONOS REST API, allowing it to:

  1. Update existing DNS records.
  2. Create new DNS records automatically if they don't exist.
  3. Check the current DNS value before updating to avoid API rate limits.

Features

  • Smart Check: Compares public IP with current DNS resolution before sending API requests.
  • Auto-Discovery: Automatically detects which DNS Zone a subdomain belongs to.
  • System Service: Runs as a background systemd service with crash protection.
  • Logging: Detailed logs in /var/log/ionos-ddns.log.

Prerequisites

Installation

1. Clone the repository to /opt

It is recommended to install this in a system directory.

sudo mkdir -p /opt/ionos-ddns
sudo git clone [https://github.com/TWOJA_NAZWA/ionos-ddns.git](https://github.com/TWOJA_NAZWA/ionos-ddns.git) /opt/ionos-ddns
cd /opt/ionos-ddns