From 1264607320d25836cfefbd86be13c0460466ea01 Mon Sep 17 00:00:00 2001 From: rafal Date: Thu, 29 Jan 2026 20:50:26 +0000 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 5cf62a2..9de138e 100644 --- a/README.md +++ b/README.md @@ -37,41 +37,41 @@ sudo pip3 install -r requirements.txt ### 3. Configuration ``` sudo nano config.json - +``` Fill in your api_prefix and api_secret. Domains List: Edit domains.txt and add domains one per line: ``` sudo nano domains.txt -''' +``` Example: -''' +``` mydomain.com vpn.mydomain.com server.other-domain.net -''' +``` ### 4. Install System Service Copy the service file to systemd directory: -''' +``` sudo cp ionos-ddns.service /etc/systemd/system/ -''' +``` Reload daemon, enable and start the service: -''' +``` sudo systemctl daemon-reload sudo systemctl enable ionos-ddns.service sudo systemctl start ionos-ddns.service -''' +``` ### Monitoring Check the service status: -''' +``` sudo systemctl status ionos-ddns.service -''' +``` View logs: -''' +``` tail -f /var/log/ionos-ddns.log -''' +``` ### How it works The script runs in an infinite loop (every 10 minutes).