instantlinux/ddclient

By instantlinux

Updated 6 days ago

Dynamic DNS client

Image
Networking
0

1.8K

instantlinux/ddclient repository overview

ddclient

Dynamic-DNS client - automatically updates a public DNS name with your dynamic IP address. Set this up under Kubernetes or Docker Swarm to ensure it's always running.

First create a secret:

echo -n user:pw ddclient-user
kubectl create secret generic ddclient-user --from-file=./ddclient-user
# or #
docker secret create ddclient-user ddclient-user

Then deploy this service, see the example helm / docker-compose.yml files. Available environment variables are:

VariableDefaultDescription
HOSTthe DNS name whose address you want kept up to date
INTERVAL3600poll interval in seconds
IPLOOKUP_URIhttp://ipinfo.io/ipa URI that returns the IPv4 address to be assigned
SERVERmembers.easydns.comremote dynamic-DNS server hostname
SERVICE_TYPEeasydnsDNS vendor, see available services
USER_LOGINLogin name
USER_SECRETNAMEddclient-userName of the Docker secret containing password

Instead of supplying these variables, if your provider requires more parameters than shown above, you can volume-mount the configuration as /etc/ddclient/ddclient.conf.

Logging is set to verbose in order to have any logging at all; it's not possible to reduce verbosity to a lower level than about 18 lines of output per interval without modifying source code.

This repo has complete instructions for building a kubernetes cluster where you can launch with helm or kubernetes.yaml using make and customizing Makefile.vars after cloning this repo:

git clone https://github.com/instantlinux/docker-tools.git
cd docker-tools/k8s
make ddclient
Contributing

If you want to make improvements to this image, see CONTRIBUTING.

Tag summary

Content type

Image

Digest

sha256:289c4d91f

Size

16 MB

Last updated

6 days ago

docker pull instantlinux/ddclient