🐳 dockerized DTDNS client/updater written in Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
.gitattributes
.gitignore
Dockerfile
LICENSE
LICENSE-3RD-PARTY
README.md
ca-certificates.crt
main.go

README.md

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