Skip to content

rogueosb/docker-duckdns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-duckdns

This is a simple Docker container for running the Duck DNS dynamic DNS update script. It will keep your domain.duckdns.org DNS alias up-to-date as your home IP changes. The script runs every 30 minutes by default.

Both IPv4 and IPv6 are supported.

Usage

This docker image is available as a trusted build on the docker index.

Run:

sudo docker run --name=duckdns -d -v /etc/localtime:/etc/localtime -v /config/dir/path:/config rogueosb/duckdns

When run for the first time, a file named duck.conf will be created in the config dir, and the container will exit. Edit this file, adding your domain and token. Then rerun the command.

If you prefer to set environment variables for your docker container instead of using the configuration file, simply comment out the vars in the duck.conf. Note that the file needs to exist, or the container will recreate it.

To check the status, run docker logs duckdns.

IPv6

By default IPv6 is not enabled. In order to enable it, uncomment the line in duck.conf to enable IPv6 IPV6=yes

Credits

IPv6 support by davebv.

About

Docker container for Duck DNS updater

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%