Daemon service to keep updated your public IP into your NameCheap hosted domains
1.3K
The idea is to have a docker container to be able to run it into your server (laptop, VPS, RaspberryPi, etc), updating your NameCheap hosted domain as soon as it detects the IP has changed. This image will run as a daemon, so it will be running until you stop it.
This image is based on eidansoft/namecheap-ddns-update
You can launch the daemon from command line running:
docker run -d --name ddns --restart unless-stopped -e DOMAIN="YOUR_DOMAIN" -e HOST="HOST_NAME" -e PASSWORD='THE_PASSWORD' eidansoft/namecheap-ddns-update-daemon
Or if you prefer to work with docker-compose:
version: '3.5'
services:
ddns:
container_name: ddns
image: eidansoft/namecheap-ddns-update-daemon
restart: unless-stopped
environment:
- DOMAIN=YOUR_DOMAIN
- PASSWORD=THE_PASSWORD
- HOST=HOST_NAME
Below you will find the variables you can set to the container in order to get it work with your configuration (for other variables take a look to its parent image):
-e SECONDS=120.You can stop the daemon just killing the container:
sudo docker rm -f ddns
The log can be found with the command:
sudo docker logs ddns
If you want save the log files, the container save it by default in /mnt, so you can just include a volume mounted there when run the container. This way the logs will be saved there. Example: -v /home/pi/my-logs:/mnt
Content type
Image
Digest
Size
4.5 MB
Last updated
over 6 years ago
docker pull eidansoft/namecheap-ddns-update-daemon