Multi-Provider Dynamic DNS Update Service für FritzBox und andere Router.
585
Multi-Provider Dynamic DNS Update Service für FritzBox und andere Router.
# Config-Verzeichnis erstellen
mkdir -p config
# Beispiel-Config herunterladen
curl -o config/ddns-hub.conf https://git.irohlf.de/iRohlf/ddns-hub/raw/branch/master/templates/ddns-hub.conf.docker
# Config anpassen
nano config/ddns-hub.conf
# Container starten
docker run -d \
--name ddns-hub \
--restart unless-stopped \
-p 3080:8080 \
-v $(pwd)/config:/config \
-e TZ=Europe/Berlin \
virkotho/ddns-hub:latest
services:
ddns-hub:
image: virkotho/ddns-hub:latest
container_name: ddns-hub
restart: unless-stopped
ports:
- "3080:8080"
volumes:
- ./config:/config
environment:
- TZ=Europe/Berlin
- CONFIG_FILE=/config/ddns-hub.conf
Internet → Freigaben → DynDNS:
| Feld | Wert |
|---|---|
| Anbieter | Benutzerdefiniert |
| Update-URL | http://SERVER:3080/update?ip=<ipaddr>&ipv6prefix=<ip6lanprefix> |
| Domainname | (leer) |
| Benutzername | (leer) |
| Kennwort | (leer) |
Wichtig:
ipv6prefix=<ip6lanprefix>verwenden – nichtipv6=<ip6addr>!
[General]
port = 8080
debug = false
[IPv6]
# Host-Teil deines Servers (letzte 64 Bit der IPv6)
static_host_part = ac4e:3cff:fef0:21ef
# --- DuckDNS ---
[DynDNS:duckdns]
enabled = true
domain = meinname.duckdns.org
token = DEIN_TOKEN
update_url = https://www.duckdns.org/update?domains={domain}&token={token}&ip={ipv4}&ipv6={ipv6}
# --- Technitium/BIND via RFC2136 ---
[RFC2136:technitium]
enabled = true
server = ns1.example.com
zone = ddns.example.com
key_name = ddns-hub
key_secret = BASE64_SECRET
key_algorithm = hmac-sha256
ttl = 3600
domains = home, nas, server
Bei mehreren Internetverbindungen (Glasfaser + DSL):
[RFC2136:glasfaser]
enabled = true
domains = home, nas
connection = glasfaser
[RFC2136:dsl]
enabled = true
domains = home-backup
connection = dsl
FritzBox-URLs:
http://server:3080/update?connection=glasfaser&ip=<ipaddr>&ipv6prefix=<ip6lanprefix>http://server:3080/update?connection=dsl&ip=<ipaddr>&ipv6prefix=<ip6lanprefix>| Variable | Default | Beschreibung |
|---|---|---|
CONFIG_FILE | /config/ddns-hub.conf | Pfad zur Config |
TZ | UTC | Zeitzone |
| Pfad | Beschreibung |
|---|---|
/config | Konfigurationsverzeichnis |
| Port | Beschreibung |
|---|---|
8080 | HTTP API für DynDNS-Updates |
ip -6 addr show | grep "scope global"
# inet6 2a02:560:1234:5600:ac4e:3cff:fef0:21ef/64
# ^^^^^^^^^^^^^^^^^^^ = static_host_part
Content type
Image
Digest
sha256:fd4f1cf67…
Size
46.5 MB
Last updated
about 2 months ago
docker pull virkotho/ddns-hub