Public | Automated Build

Last pushed: 8 months ago
Short Description
dnsmasq with auto hosts reload via inotify. look ma, no hands!
Full Description

dyndnsmasq-docker

Dockerfile for dnsmasq with automatic dynamic reloading of /etc/hosts.dyn

What does it do?

Run dnsmasq, reading only /etc/hosts.dyn and no upstream resolvers. As soon as the hostsfile is modified (inotify trigger modify or create), dnsmasq is signaled to reload the hostsfile. A quick and dirty poormans-dyndns.

How to use?

Needs NET_ADMIN capability. /etc/hosts.dyn must be mounted read-only. Publish port 53 and 53/udp. Write stuff to hostsfile. magic.

Docker Pull Command
Owner
jankoppe
Source Repository