Skip to content

🐳 dockerized DTDNS client/updater written in Go

License

Notifications You must be signed in to change notification settings

damdo/docker-dtdns

Repository files navigation

damdo/docker-dtdns

License
dockerized dtDNS client written in Go

FEATURES

  • Lightweight Image - ~3.67MB (FROM scratch, no distro)
  • Solid Cron Routine - based on github.com/robfig/cron
  • Efficient - Updates only if ip has changed
  • Flexible - Customizable with a set of parameters

USAGE

docker run -d -e DNS_HOSTNAME=yourhost.dtdns.domain -e DNS_PASSD=yourpasswd damdo/docker-dtdns

by default will check ip every minute

Optional Parameters
-e UPDATE_INTERVAL=*/n 
# where n (integer: [1-59]) is the amout of minutes between refresh

-e IP_API_URL=ip.api.url 
# where a different "get current ip" api can be specified

-e DNS_API_URL=new.dnsapi.url 
# where a different dns service api can be specified

HOW IT WORKS

It follows the guidelines defined by the DtDNS specification: http://www.dtdns.com/dtsite/updatespec

BUILDING FROM SOURCE

In DOCKER building
docker build -t desiredimagename .
docker run -d -e DNS_HOSTNAME=yourhost.dtdns.domain -e DNS_PASSD=yourpasswd desiredimagename

LICENSE

  • This project uses third party libraries that are distributed under their own terms. See LICENSE-3RD-PARTY
  • For the rest of it the MIT License (MIT) applies. See LICENSE for more details

About

🐳 dockerized DTDNS client/updater written in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published