Sign inSign up

bfenski/dnsmasq

By bfenski

Updated over 2 years ago
Archived

minimalistic distroless dnsmasq built to act as a split dns helper

Image
Networking
0

10K+

bfenski/dnsmasq repository overview

Beware that this dnsmasq image is built with minimal set of features and shouldn't be used outside of k8s world as it needs init container to be configured prior to start.

Since for split DNS all I need dnsmasq to do is answering specific IP when I ask for specific domain it was compiled with the following options (or rather lack of them):

-DNO_DHCP -DNO_DNSSEC -DNO_DBUS -DNO_CONNTRACK -DNO_TFTP -DNO_IPSET -DNO_AUTH -DNO_LOOP -DNO_INOTIFY -DNO_DUMPFILE -DNO_DHCP6

It includes /etc/dnsmasq/dnsmasq.conf.tpl file with the following content:

port=${DNSMASQ_PORT}
address=${DNSMASQ_ADDRESS}
user=${DNSMASQ_USER}
group=${DNSMASQ_GROUP}

The idea is to replace these vars using init container with envsubst or something like that.

Tag summary

Content type

Image

Digest

sha256:99bf1c714

Size

9.5 MB

Last updated

over 2 years ago

docker pull bfenski/dnsmasq:2.89-1