Eirias / duck-dns-updater

An alpine:docker image for updating your duckdns.org domain with your public IP or ip specified

Home Page:https://hub.docker.com/r/bl3rune/duck-dns-updater

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Duck DNS updater

This image will periodically update your duckdns.org DDNS.

I modified the duckdns.sh to work with my raspberrypi by using #!/bin/ash instead of #!/bin/sh.

Environment Variables

  • DOMAIN - the hostname to update e.g. test.duckdns.org
  • TOKEN - your authentication token from duckdns.org e.g. 1234abcd-abcd-1234-abcd-123456789abc
  • MANUAL_IP - (Optional) Manually set IP-address to update with
  • INTERVAL - (Optional) Time between updates, default = 300 seconds

Start using .env file

  • Set DOMAIN and TOKEN and add MANUAL_IP and/or INTERVAL if necessary in the .env file
sudo docker build -t duck-dns-updater .

sudo docker run -d --name duck-dns-updater --env-file .env duck-dns-updater --name duck-dns-updater

About

An alpine:docker image for updating your duckdns.org domain with your public IP or ip specified

https://hub.docker.com/r/bl3rune/duck-dns-updater


Languages

Language:Shell 83.9%Language:Dockerfile 16.1%