DuckDNS installation on docker. This will allow the automatic update of your IP.
DuckDNS is a free service which will point a DNS (sub domains of duckdns.org) to an IP of your choice. The service is completely free, and doesn't require reactivation or forum posts to maintain its existence.
The architectures supported by this image are: x86-64, arm64, and armhf.
Through this installation you will have a subdomain pointing to your server that renews the IP every 5 minutes. You can use this subdomain in any other docker or service that you install on your server.
Update: You can do this via a simple command in the OMV GUI scheduled tasks without the need for a container. Here you have the procedure. https://wiki.omv-extras.org/do…th_duckdns_fix_dynamic_ip
1. DuckDNS registration
- Register a subdomain in DuckDNS: go to https://www.duckdns.org/ Once registered copy the token.
2. Install DuckDNS on Docker
- Fit and implement the following stack in Docker, you can see how to do it here [How to] Docker in OMV Note: Verify on the official page that this stack has not changed before installing it. https://hub.docker.com/r/linuxserver/duckdns/
---
version: "2.1"
services:
duckdns:
image: lscr.io/linuxserver/duckdns
container_name: duckdns
environment:
- TZ=Europe/London #Comment 1
- SUBDOMAINS=subdomain1,subdomain2 #Comment 2
- TOKEN=token #Comment 3
restart: unless-stopped
Display More
- Comment 1: Adjust it to your location.
- Comment 2: Include here the subdomains that you want to use on your server and that you registered with DuckDNS. Separate them with a comma.
- Comment 3: The token is the code that refers to your subdomain, you must copy it from DuckDNS when you register.
- Run the stack, this will download the necessary images and start the container.
- You should already have the subdomains pointing to your server. You can check it on the DuckDNS page, the subdomains should now have your IP.
3. More information
- If you need more information you can check here https://hub.docker.com/r/linuxserver/duckdns/
- This website is useful to know if your domain is working. https://www.whatsmydns.net/
I hope it helps !!