Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/damdo/docker-dtdns

:whale: dockerized DTDNS client/updater written in Go
https://github.com/damdo/docker-dtdns

dns docker docker-image go golang

Last synced: 19 days ago
JSON representation

:whale: dockerized DTDNS client/updater written in Go

Awesome Lists containing this project

README

        

## damdo/docker-dtdns
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/damdo/docker-dtdns/blob/master/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
```sh
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
```sh
-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
```sh
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`](https://github.com/damdo/docker-dtdns/blob/master/LICENSE-3RD-PARTY)
- For the rest of it the MIT License (MIT) applies. See [`LICENSE`](https://github.com/damdo/docker-dtdns/blob/master/LICENSE) for more details