INWX als DnyDNS Provider nutzen (Synology)

In IOT

Da uA DnyDNS ihrer kostenfreien Dienste einstellen oder einschrÁ¤nken und ich mit Synologys MyDS immer mal Probleme hatte, hier mal eine kleine Anleitung wie ihr INWX als DynDNS Provider nutzen könnt.

Hierfür habe ich ein Bash Skript auf Github gefunden, welches ich stündlich auf meinen NAS ausführen lasse.

Ladet euch die beiden Dateien in einen beliebigen Ordner und

wget https://raw.githubusercontent.com/gehaxelt/Bash-INWX-DynDNS/master/dnsupdate.sh
wget https://raw.githubusercontent.com/gehaxelt/Bash-INWX-DynDNS/master/update.api
chmod +x dnsupdate.sh
touch old.ipv4
touch old.ipv6
vi dnsupdate.sh
admin@synology02:/volume1/stuff$ sh dnsupdate.sh
Wed Apr 12 16:01:28 UTC 2017 | Updating IPv4...
Wed Apr 12 16:01:29 UTC 2017 | Updated IPv4: (empty) --> XXX.XXX.XXX.131
Wed Apr 12 16:01:29 UTC 2017 | Skipping IPv6: No DNS record ID set

Nun müsst ihr bei INWX noch ein A-Eintrag für euer NAS anlegen (z.B nas.wiiare.in) und dann die ID von dieser Subdomain ermitteln, dafür schaut ihr euch mit den Quellcode der Webseite an und notiert die ID eures A Eintrags (hier mit Chrome -> Element untersuchen). Diese ID schreibt ihr mit eurem Benutzernamen und Passwort noch in die dnsupdate.sh Datei. FÁœhrt dise Datei aus (sh dnsupdate.sh) und guckt ob bei INWX die Zeile mit eurerer IP aktualisiert wurde.


Dieses Skript guckt nun auf urlmyip.com nach der WAN-IP und speichert diese in old.ip. Sollte diese Datei beim nÁ¤chsten Aufruf eine andere IP als eure WAN-IP enthalten wird wird über die INWX-API.

sh dnsupdate.sh

Als geplanten Task lÁ¤uft nun dieses Skript stündlich auf meinen NAS: cd /volume1/config/inwxupdater && sh dnsupdate.sh

You may also read!

Outer Wilds – spoilerfree Hints & Solutions

Here is a non-spoiler friendly Walkthrough the Game. It also has some Videos if you still need help... Guide is

Read More...

Red Dead Redemption 2 Android Companion App Download

Your Device iss't compatible? For me I could't download it on my One Plus 2, Amazon Fire Tablet and

Read More...

Spieletipp: World Adrift 🎮🏆

Hinweis: Das Spiel ist noch im Beta Stadium und zudem gibt es es kein PVE, es kann also jederzeit

Read More...

3 commentsOn INWX als DnyDNS Provider nutzen (Synology)

  • hi
    i made the setup step by step but it does not work. The file old.ip contains the correct public ip but the ip address on INWX Provider does not Change. Any ideas? ID of records and also username and Password are correctly set.

  • sorry my fault!!! I had to Change the ip in the file old.ip to NOT my actual public ip. After a next run my public ip was correctly published on INWX!

    Great, thank you very much for this article!!!

  • Danke – klasse Anleitung!

    Ich musste noch diese 2 Dateien kreieren, um Fehlermeldungen zu vermeiden:
    touch old.ipv4
    touch old.ipv6
    Nun brauche ich kein dyn.com mehr und bin froh 🙂

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.