Docker image to update a Dynu DDNS domain with your current IP from your ISP provider.
It also tracks all IP changes an exposes them through a http server on port 1050.
IP History Server![]() |
project-root/
├── docker-compose.yml
├── README.md
├── ip_history.png
└── dynuiuc/
├── .dockerignore
├── requirements.txt
├── Dockerfile
├── db/
│ └── ip_history.db
├── python/
│ ├── apicalls.py
│ ├── apiresponse.py
│ ├── database.py
│ ├── envvars.py
│ ├── history_server.py
│ └── main.py
└── tempates/
└── status_template.html
docker-compose.yml
: docker compose configurationdynuiuc/Dockerfile
: docker build configurationdynuiuc/.dockerignore
: docker build configuration support
- Copy files into your docker installation
- Execute
docker compose up --build -d
Open your favourite browser to:
- IP History
http://<your-ip>:1050/status
Change values as your needs:
version: '3.8'
services:
dynuiuc:
build: ./dynuiuc
container_name: dynuiuc
restart: unless-stopped
ports:
- "1050:1050"
environment:
- TZ=Europe/Madrid
- USERNAME=YOUR_DYNU_USERNAME
- PASSWORD=YOUR_DYNU_PASS
- HOSTNAMES=YOUR_DOMAIN
- DYNU_UPDATE_URL=https://api.dynu.com/nic/update
- IP_SOURCES=https://api.ipify.org?format=json
- REFRESH_TIME=300
- DB_FILE=db/ip_history.db
- TEMPLATES_DIR=templates
This docker image has been created based on dokeraj one