# ownDynDNS-netcup ![docker-build](https://github.com/sujiba/ownDynDNS-netcup/actions/workflows/docker_build_push.yml/badge.svg?event=push) This container is based on the work of: * [PHP](https://hub.docker.com/_/php) * [Fernwerker ownDynDNS](https://github.com/fernwerker/ownDynDNS) ## Nectup configuration You need to create your dns entries beforehand: | Host | Type | Destination | |----------|-------|--------------| | vpn | AAAA | IPv6 | | vpn | A | IPv4 | ## Container configuration Create docker-compose.yml and config in your app directory i.e.: ``` mkdir -p /opt/docker/owndyndns cd /opt/docker/owndyndns # Create docker-compose.yml and copy the contents from repository file vi docker-compose.yml # Create config, copy the contents from repository file and change the parameters vi config # Start the Container with docker compose up -d ``` ## Fritz!Box configuration * Login to your Fritz!Box * Go to /Internet/Freigabe/DynDNS * Set mark on "DynDNS benutzen" * Enter Update-URL: `https:///update.php?user=&password=&ipv4=&ipv6=&domain=` * You only have to change `https://` (http without valid TLS certificate) * Domainname: `vpn.example.com` * Username: Defined in config * Password: Defined in config